# Tracks with 3 digit format: 001

**URL:** https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361
**Category:** Support
**Created:** [May 7, 2019, 3:11pm UTC](https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361 "2019-05-07T15:11:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![AKI](https://community.mp3tag.de/user_avatar/community.mp3tag.de/aki/32/6458_2.png) [@AKI](https://community.mp3tag.de/u/AKI)
#### Post date: [May 7, 2019, 3:11pm UTC](https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361/1 "2019-05-07T15:11:00Z")

</div>

I would like all my ytracks to have the format 001,002,003...., but when in the track numbering assistant I ask it to start with track number 001, MP3 Tag automatically makes it a 2 digit track: 01,02,03...  
Could anybody assist?

Thank you  
Alex

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 7, 2019, 5:33pm UTC](https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361/2 "2019-05-07T17:33:48Z")

</div>

After you have used the track numbering assistant apply the function  
Convert\>Tag-Tag for the field TRACK  
Format string: $num(%track%,3)

Please note that Windows interprets 3-digit-numbers as octal values. So most likely Windows will show track 8 and 10 as 8, 9and 11 as 9, 12 as10, 13 as 11 and so on.

Also a look at the help would have helped  
:

> **[Scripting Functions – Mp3tag Documentation](https://docs.mp3tag.de/scripting/)**
>
> Documentation on Mp3tag's scripting functions. Mp3tag is the universal Tag Editor.

Pad decimal number with leading zeros

Command: **$num(x,y)**  
Example: `$num(%track%,3)`  
This example returns the track number with three digits.

---

<div class="post-metadata">

### Author: ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)
#### Post date: [November 27, 2024, 8:06am UTC](https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361/3 "2024-11-27T08:06:08Z")

</div>

So apologies if this is the wrong thing to do, but as google and the community search leads me here, searching for "3 digit" I suspect others will find this too.

I want to do something similar, but for albums.

So when the album series first came out it was

Album 1, Album 2, etc.

However the series is very popular and now is Album 101

However we all know that windows search is bad for this, so what I would like to do is that all the albums are

Album 001

Album 010

Album 100 etc

So all are 3 digits.

In this case they are the DJ Beats series from Mastermix,

So start with DJ Beats Volume 1, Volume 2, etc.

I've removed that, with a regex, so it's now DJ Beats 1 DJ Beats 2 etc, but would love for them all to be consistent, could I get some help please?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 27, 2024, 8:13am UTC](https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361/4 "2024-11-27T08:13:37Z")

</div>

Try an action of the type "Format value" or use Convert\>Tag-Tag for ALBUM  
Format string: `$regexp(%album%,(.*) (\d+),$1) $num($regexp(%album%,(.*) (\d+),$2),3)`

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [December 27, 2024, 8:14am UTC](https://community.mp3tag.de/t/tracks-with-3-digit-format-001/45361/5 "2024-12-27T08:14:32Z")

</div>

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