83
rated 0 times
[
84]
[
1]
/ answers: 1 / hits: 18625
/ 10 Years ago, fri, august 8, 2014, 12:00:00
I have a ten digit number that will always be constant. I want to pad it so, that it will always remove a zero for every extra number added to the number. Can someone please show me an example of how I can do this?
eg. 0000000001
0000000123
0000011299
More From » javascript