# Removing 0 before 1-9 in Track?

**URL:** https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907
**Category:** Support
**Created:** [April 22, 2005, 11:00am UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907 "2005-04-22T11:00:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Windjammer](https://community.mp3tag.de/user_avatar/community.mp3tag.de/windjammer/32/68_2.png) [@Windjammer](https://community.mp3tag.de/u/Windjammer)
#### Post date: [April 22, 2005, 11:00am UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907/1 "2005-04-22T11:00:56Z")

</div>

Hi,

I found a lot of thread on how to make all Tag Track Number 2 digit i.e. from 1 to 01, but what about the opposite? I want to have all 1 digit Tag Track Numbers 1 digit and not 2.

1  
2  
3 etc.

and not

01  
02  
03 etc.

I want this funkcion only for cleaning up existing Tags that are in the 01 format.

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [April 22, 2005, 11:19am UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907/2 "2005-04-22T11:19:02Z")

</div>

> [@](#):
>
> Hi,
> 
> I found a lot of thread on how to make all Tag Track Number 2 digit i.e. from 1 to 01, but what about the opposite? I want to have all 1 digit Tag Track Numbers 1 digit and not 2.
> 
> 1  
> 2  
> 3 etc.
> 
> and not
> 
> 01  
> 02  
> 03 etc.
> 
> I want this funkcion only for cleaning up existing Tags that are in the 01 format.
> 
> \<{POST\_SNAPBACK}\>

Use $num(%track%,1) instead. 🙂

---

<div class="post-metadata">

### Author: ![Windjammer](https://community.mp3tag.de/user_avatar/community.mp3tag.de/windjammer/32/68_2.png) [@Windjammer](https://community.mp3tag.de/u/Windjammer)
#### Post date: [April 22, 2005, 11:46am UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907/3 "2005-04-22T11:46:35Z")

</div>

LOL! That was just to simple, thanks!

---

<div class="post-metadata">

### Author: ![Windjammer](https://community.mp3tag.de/user_avatar/community.mp3tag.de/windjammer/32/68_2.png) [@Windjammer](https://community.mp3tag.de/u/Windjammer)
#### Post date: [April 22, 2005, 11:52am UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907/4 "2005-04-22T11:52:43Z")

</div>

One additional question. How do I prevent it from writing 0 when the Tag Track field is empty?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 22, 2005, 1:34pm UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907/5 "2005-04-22T13:34:40Z")

</div>

$if(%track%,$num(%track%,1),)

---

<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: [February 9, 2026, 12:19pm UTC](https://community.mp3tag.de/t/removing-0-before-1-9-in-track/1907/6 "2026-02-09T12:19:22Z")

</div>


