Possible Duplicate:
Objective-C: How to format string as $ Price
I have an App showing prices. The prices are displayed that way:
[self makePrice];
itemPrice.text = [NSString stringWithFormat:@"%i",tempPrice];
itemPrice.textColor = [UIColor whiteColor];
As a result big values are shown as: $ 12123041
I need it to be $ 12,123,041
How can I do it?
Thanks. Appreciate your help Tim