Format Tag to Read 01 instead of 1

Hi there,

I have a tag which is a sec and another as a min. I have that binded into a multistate indicator so that I can read it together when a certain event happens. That all works great however when the second is say at 1 second I want it to read as 01 so that it shows up like this 22:01 instead of 22:1 is there a simple way of fixing this?

in an expression you can use:
numberFormat(1, ‘00’)

in a string you can use:
“%02d” % (1)

Which expression should I put it in? I tried to put it into the text section but my text looks like this “text {tag1} : {tag2}” and if I use numberformat it errors me because of the text

Try something like this: