Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Currency symbol for users current locale

In my app I need to display the appropriate currency symbol for the user's current locale. I'm not displaying currency values, just the symbol.

Any ideas?

like image 377
Justin Kredible Avatar asked Nov 14 '09 22:11

Justin Kredible


1 Answers

NSLocale can do this:

NSString *sym = [[NSLocale currentLocale] objectForKey:NSLocaleCurrencySymbol];
like image 188
jtbandes Avatar answered Oct 18 '22 02:10

jtbandes