# Converting to track and disc numbers with no leading zero's?

**URL:** <https://community.mp3tag.de/t/converting-to-track-and-disc-numbers-with-no-leading-zeros/53222>\
**Category:** Support\
**Created:** [May 15, 2021, 12:55pm UTC](https://community.mp3tag.de/t/converting-to-track-and-disc-numbers-with-no-leading-zeros/53222 "2021-05-15T12:55:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanmechelen](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stefanmechelen/32/5195_2.png) [@stefanmechelen](https://community.mp3tag.de/u/stefanmechelen)\
**Post date:** [May 15, 2021, 12:55pm UTC](https://community.mp3tag.de/t/converting-to-track-and-disc-numbers-with-no-leading-zeros/53222/1 "2021-05-15T12:55:11Z")

</div>

I have 300 filenames with the following 4 starting characters

0103-bobby\_womack-lookin\_for\_a\_love.flac

first two is discnumber  
last two is tracknumber

I can use tag/tag to do this,as we're lucky, we know each disc is 15 songs and there're 20 discs in total  
Easy fix, done in a second.

But I don't like song 03/15 from disc 01/20  
I want 3/15 from 1/20 (no leading zero's)

How do you do that?

---

<div class="post-metadata">

**Author:** ![stefanmechelen](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stefanmechelen/32/5195_2.png) [@stefanmechelen](https://community.mp3tag.de/u/stefanmechelen)\
**Post date:** [May 15, 2021, 1:02pm UTC](https://community.mp3tag.de/t/converting-to-track-and-disc-numbers-with-no-leading-zeros/53222/2 "2021-05-15T13:02:02Z")

</div>

nevermind, found it already, format value **$fmtNum(%track%)**

---

<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:** [June 14, 2021, 1:02pm UTC](https://community.mp3tag.de/t/converting-to-track-and-disc-numbers-with-no-leading-zeros/53222/3 "2021-06-14T13:02:11Z")

</div>

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