If I were to have EUR, or USD (both ISO currency codes), how could I make my NSNumberFormatter to properly format me a string like this?
For EUR code: 10.000,00 €
For USD code: $10,000.00
I could do this by setting localeIdentifier. But I really need to get it from the ISO currency code. Is this possible?
[numberFormatter stringFromNumber: [_property price]];
Thank you!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…