数据库:按国家/地区代码划分的货币?
在哪里可以获得货币列表以及国家/地区代码?
示例
Code, Currency Name, Country, Format, Decimal Points, Currency Regime, Major Unit, Minor Unit, Equivalence,
USD, US Dollar, United States, $#,###.##, 2, float, dollar, cents, 100 cents = dollar
参考: http://www.oanda.com/currency/currency-code? srccont=rightnav
<--- 这很完美,但是他们不提供数据库下载?
Where do I get a list of currencies along with country code?
Example
Code, Currency Name, Country, Format, Decimal Points, Currency Regime, Major Unit, Minor Unit, Equivalence,
USD, US Dollar, United States, $#,###.##, 2, float, dollar, cents, 100 cents = dollar
REF: http://www.oanda.com/currency/currency-code?srccont=rightnav
<--- this is perfect, however they do not supply a database to download?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
来自维基百科:http://en.wikipedia.org/wiki/List_of_circulate_currencies
来自 ISO 的数据:
ISO 4217 货币和基金名称和代码元素
使用 XLS 和 XML 格式。
From Wikipedia: http://en.wikipedia.org/wiki/List_of_circulating_currencies
Data from ISO:
ISO 4217 currency and funds name and code elements
With the data in XLS and XML format.
您可以从 http://country.io/currency.json 获取国家/地区代码与货币代码的列表。这是一个示例摘录:
You can get a list of country codes to currency codes from http://country.io/currency.json. Here's a sample extract:
调用此处提供的 Web 服务:http://www.webservicex.net/country.asmx 您应该能够生成你想要的列表。
Calling the web services provided here: http://www.webservicex.net/country.asmx you should be able to generate the list you want.
看看这个;)
https://en.wikipedia.org/wiki/ISO_4217
Look this ;)
https://en.wikipedia.org/wiki/ISO_4217
如果没有数据库,您可以在 System.Globalization 中找到这些信息,
看看这个示例:
https://rextester.com/OEPYQ59630
Without a database, you can find those info in System.Globalization
Take a look at this sample:
https://rextester.com/OEPYQ59630