-
How to add 0 in a counter to show 00, 01, 02… ?
Hi everyone,
I want to add a 0 to the counter when it’s going from 0 to 9.
The result should be like this :
%00, %01, %02… then %10, %11Struggling for hours now but I know you guys can help.
Thank you so much.
Hassan
number = thisComp.layer("PERCENTAGE").effect("Percentage RIGHT")("Slider");
rounded = Math.round(number *100) /100;
number2 = "%"""+rounded.toFixed(1);