Re: Number displays incorrectly if the first digit is zero
Posted: Tue Jun 13, 2017 8:10 am
I not blocked you working solution. I just was curious about how renaming an variable could solve the problem.
As you changing:
to
is joust enough. For formating 10 digit numbers.
As you changing:
Code: Select all
new = tostring(text)
Code: Select all
new = ('%010d'):format(text)