Integer always 3 digits long
in
Programming Questions
•
3 years ago
Is there an easy way to always display an integer as 3 digits long, so 7 = 007, 29 = 029 etc
The only way I can see it is to use if/else loops.
Thanks.
1