ISO 4217 - How Do I retrieve the numeric value(840) for the currency code “USD” in .NET?
问题 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. ISO Code 4217 回答1: The ISO3166 currency codes (840 for U.S. Dollar, etc.) are not available in the .Net framework. All you can get from the RegionInfo class 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. 回答2