13.02.2012, 10:10
I have this:
What it does is pretty self-explanatory.
Anyway, the milliseconds are always 3 digits long.
For example: .734. How can i make sure that it is (shown as) 2 digits long?
So instead of .734 it will show .73
pawn Код:
format(string, sizeof string, "%02d:%02d.%02d", Minutes, Seconds, Milliseconds);
Anyway, the milliseconds are always 3 digits long.
For example: .734. How can i make sure that it is (shown as) 2 digits long?
So instead of .734 it will show .73