05.07.2011, 02:35
you didn't mention what krogsgaard20 said at all, you just copied and pasted stuff from the wiki.
%02d or %02i will make sure there's 2 digits, like formatting 2 will become 02 and 20 will remain 20 because that's 2 digits
%.02f will cut a floating number 2 places so 3.141414 will become 3.14, note that this doesn't do rounding just cutting off
also iirc to show a percent sign you need %%%% not %%
%02d or %02i will make sure there's 2 digits, like formatting 2 will become 02 and 20 will remain 20 because that's 2 digits
%.02f will cut a floating number 2 places so 3.141414 will become 3.14, note that this doesn't do rounding just cutting off
also iirc to show a percent sign you need %%%% not %%