Format Codes

So for my project I am trying to print a 5 digit integer onto a SainSmart LCD Keypad Shield. Is there any way I could use format codes to solve this problem?


You could use sprintf() to format the output, including adding leading zeroes if that is the problem that you are trying to solve.

Thanks that worked well.