I need to do the following. For example, if the number is three-digit, then you leave. If it is unambiguous or double-digit, then add two zero or one. So, how to do it in one line using PrintF?
Answer 1, Authority 100%
Add the drive zeros in this way:
string.format ("% 03D", NUM);