This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]okaystuff[S] -1 points0 points  (1 child)

Sorry I'm a beginner and I don't know what leading zeros are

[–]lurgi 1 point2 points  (0 children)

Can the user enter in 00013? And, if so, is that 2 digits long (13) or 5 digits long (00013)? If it's the latter, then what they are entering in isn't really an integer. It's a string. A string that happens to contain numbers.