Hello,
since you used the tag Builder I assume that you are using the builder to build your experiment instead of writing the code yourself. The following “code” should display numbers with a leading 0 off- and online.
I used an Excel-file to read the numbers, format is set to standard.
I defined a text-component in the Builder to display the number.
Notice the formatting of the string. The advice given in Leading zeroes in text component does not work online.
Best wishes Jens