My iPhone app formats an NSDecimalNumber as a currency using setCurrencyCode, however another screen displays just the currency symbol. Rather than storing both the currency cod
You can get number with currency symbol from number with currency code.
This is the way I do:
NSString *currencyCode = @"HKD";
NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
[numberFormatter setCurrencyCode:currencyCode];
[numberFormatter setNumberStyle:NSNumberFormatterCurrencyStyle];
cell.amountLabel.text = [numberFormatter stringFromNumber: expense.exAmount];