# Share your custom Actions

**URL:** https://community.mp3tag.de/t/share-your-custom-actions/1722
**Category:** General Discussion
**Created:** [February 21, 2005, 2:01am UTC](https://community.mp3tag.de/t/share-your-custom-actions/1722 "2005-02-21T02:01:42Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Logan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/278dde/32.png) [@Logan](https://community.mp3tag.de/u/Logan)
#### Post date: [February 24, 2005, 11:36pm UTC](https://community.mp3tag.de/t/share-your-custom-actions/1722/6 "2005-02-24T23:36:21Z")

</div>

> [@](#):
>
> A "format values" action applied to the TRACK field with the following format string should do what you said: $num(%track%,2). 🙂
> 
> \<{POST\_SNAPBACK}\>

Sebastion -

The only problem with that approach is that if the track is blank, you will end up wth ' 00 '.

Instead of only selecting those tracks that require formatting, I came up with this approach:

Type: Format Value  
Field: TRACK  
Formatstring:$ifgreater(%track%,0,$NUM(%Track%,2),)

This way, the TRACK value is only formatted if it is greater than zero.

---

_[View the full topic](https://community.mp3tag.de/t/share-your-custom-actions/1722)._
