locked
How can I get all the currency symbols and names like $ is for USD etc.?

    Question

  • I want to give an option to user so that he can choose currency and update it in future if required. My problem I don't know, How can I pull all the possible currency symbols.
    Sunday, March 16, 2014 9:17 AM

Answers

  • Use a CurrencyFormatter:
    // Create a formatter initialized to a specific currency,
    // in this case US Dollar (specified as an ISO 4217 code) 
    // but with the default number formatting for the current user.
    var currencyFormatUSD = new Windows.Globalization.NumberFormatting.CurrencyFormatter("USD"); 
    var currencyUSD = currencyFormatUSD.Format(fractionalNumber);
    

    Sunday, March 16, 2014 6:10 PM
    Owner