Quote:
Originally Posted by safetymoose
He mentioned that he covered the numbers below 1000 with %04i, so this is what he needed..
|
No, he said
if his number was 4 digits or less. He said "formatting into 4 digits" which is illogical for numbers with more than 4 digits. At that point it's not a format, it's actually changing the value to something else. It would be logical to say "format into at least four digits" which is what %04i does.
Quote:
Originally Posted by safetymoose
A counter of 4 digits? maybe something to be shown on a hud message or something?
|
Neither of those suggestions make make sense for getting the 4 left-most digits.
__________________