Henrik Jakobsen - 2014-07-03

how do you get the localized price and the currency
apple docs says: use SKProduct object

NSNumberFormatter numberFormatter = [[NSNumberFormatter alloc] init];
[numberFormatter setFormatterBehavior:NSNumberFormatterBehavior10_4];
[numberFormatter setNumberStyle:NSNumberFormatterCurrencyStyle];
[numberFormatter setLocale:product.priceLocale];
NSString
formattedString = [numberFormatter stringFromNumber:product.price];

if I use DPFInAppPurchase and FloatToStr(Products[i].price); I only get the price and not the currency