Issue with stringWithFormat

Discussion in 'Mac Programming' started by swimdev, Feb 2, 2009.

  1. macrumors newbie

    Joined:
    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:mad:"%2.1f" would work, but doesn't.

    any suggestions?
     
  2. macrumors 601

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
  3. thread starter macrumors newbie

    Joined:
    Feb 2, 2009

Share This Page