Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swimdev

macrumors newbie
Original poster
Feb 2, 2009
2
0
I'm wanting to have a leading zero for any number less than ten (ie 01, 02, 03)

i though stringWithFormat:mad:"%2.1f" would work, but doesn't.

any suggestions?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.