Adding zero

0
Hi all, how to add leading zero if number is less than 10(eg:01,02) thanks
asked
2 answers
1

Hi Kiran,

Another option is to use formatDecimal with the format 00: formatDecimal({yourvalue}, '00')

Hope this helps!

answered
0

I think you’ll have to save it as a string, or display on screen using CustomString widget. You could use the StringLeftPad action in CommunityCommons / StringUtils.

answered