comma separated thousand NSString stringWithFormat
问题 Is it possible to display 1000.99 as 1,000.99 using [NSString stringWithFormat:@"£%0.2f", 1000.99] Please guide me if I am not on the right track to achieve this? 回答1: See NSNumberFormatter. It can handle all your numeric formatting needs and do so in an automatically localized fashion, when used correctly (since currencies around the world are often written with different punctuation & formatting). In particular, check out the number formatting guide linked to at the top of the class