# \[X\] Leading zero in autonumbering

**URL:** https://community.mp3tag.de/t/x-leading-zero-in-autonumbering/4312
**Category:** No Bugs
**Created:** [January 10, 2007, 10:05pm UTC](https://community.mp3tag.de/t/x-leading-zero-in-autonumbering/4312 "2007-01-10T22:05:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sylvainjambon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ecc23a/32.png) [@sylvainjambon](https://community.mp3tag.de/u/sylvainjambon)
#### Post date: [January 10, 2007, 10:05pm UTC](https://community.mp3tag.de/t/x-leading-zero-in-autonumbering/4312/1 "2007-01-10T22:05:12Z")

</div>

When using the autonumbering tool to renumber files that already have an existing track number, the option "Add a leading zero" works intermittently. Sometimes, the new track number has a leading zero, sometimes not.

The only workaround I found is to first erase the track number field of the selected files (i.e. set to blank), and then run the autonumbering on the files. In such a case the leading zero option is behaving properly.

This happens with WMA files; haven't tried with other types.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 13, 2007, 12:33pm UTC](https://community.mp3tag.de/t/x-leading-zero-in-autonumbering/4312/2 "2007-01-13T12:33:03Z")

</div>

This is because WMA tracknumbers are sometimes stored as numerical value and sometimes as string value. Leading zeros are not possible if there is already a tracknumer field where the tracknumber is stored as numerical value.

Best regards,  
Florian

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 2:18pm UTC](https://community.mp3tag.de/t/x-leading-zero-in-autonumbering/4312/3 "2018-12-28T14:18:39Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
