Go Down

Topic: Format Codes (Read 161 times) previous topic - next topic


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?



Jul 17, 2017, 10:00 pm Last Edit: Jul 17, 2017, 10:01 pm by UKHeliBob
You could use sprintf() to format the output, including adding leading zeroes if that is the problem that you are trying to solve.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.


Thanks that worked well.

Go Up