For the currency code ISO 4217, how do I retrieve the numeric value from within the .NET framework?
For example, the numeric value for the US Dollar is 840.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The ISO3166 currency codes (840 for U.S. Dollar, etc.) are not available in the .Net framework. All you can get from the
RegionInfoclass is the ISO4217 currency code (ISOCurrencyCode) (e.g. USD) and the CurrencySymbol (e.g. $).You will, I’m afraid, have to download a list of the data and do the mapping yourself.