S swimdev macrumors newbie Original poster Feb 2, 2009 2 0 Feb 2, 2009 #1 I'm wanting to have a leading zero for any number less than ten (ie 01, 02, 03) i though stringWithFormat"%2.1f" would work, but doesn't. any suggestions?
I'm wanting to have a leading zero for any number less than ten (ie 01, 02, 03) i though stringWithFormat"%2.1f" would work, but doesn't. any suggestions?
HiRez macrumors 603 Jan 6, 2004 6,310 2,752 Western US Feb 2, 2009 #2 Try @"%02.1f" (that's a zero, not an "oh")