G
Guest
I have a program that performs calculations and displays a four digit number.
Sometimes the calculation results in a number like 0854, but my program
displays it as 854. How can I force the program to display the leading zero,
when the first digit is a zero? I'm only dealing with the integer data type.
Sometimes the calculation results in a number like 0854, but my program
displays it as 854. How can I force the program to display the leading zero,
when the first digit is a zero? I'm only dealing with the integer data type.