How to add commas to number every 3 digits in Objective C?

Posted by RexOnRoids on Stack Overflow See other posts from Stack Overflow or by RexOnRoids
Published on 2010-02-10T01:31:44Z Indexed on 2010/05/20 1:30 UTC
Read the original article Hit count: 476

If I have a number int aNum = 2000000 how do I format this so that I can display it as the NSString 2,000,000?

© Stack Overflow or respective owner

Related posts about nsstring

Related posts about iphone