简体   繁体   English

如何将一种货币值转换为另一种货币值

[英]How can i convert one currency value to another currency value

I am new in iPhone application development. 我是iPhone应用程序开发的新手。 Now i am developing iPhone application. 现在我正在开发iPhone应用程序。 In my application i need to use currency conversion. 在我的应用程序中,我需要使用货币换算。 How can i convert one currency value to another currency value. 我如何将一种货币值转换为另一种货币值。 If any one API achieving this please add link, or example code is there add that url, It is very help full for development. 如果有任何一个API实现此目的,请添加链接,或者在示例代码中添加该URL,这对开发非常有帮助。

Please help. 请帮忙。

Go to google.com, and search programmable web. 转到google.com,然后搜索可编程网络。 It will list all different sort of web services for you and then you may choose one and use it inside your application. 它会为您列出所有不同种类的Web服务,然后您可以选择一个并在应用程序中使用它。

Use free web services to retrieve currency rates. 使用免费的Web服务检索货币汇率。 This is the only thing you need, all the rest is math. 这是您唯一需要的,其余所有都是数学。 Here is one Free, hourly-updated exchange rates 这是一个每小时更新的免费汇率

Use google rest api service which will return a json 使用谷歌REST API服务将返回一个JSON

http://www.google.com/ig/calculator?hl=en&q=1USD%3D%3FINR http://www.google.com/ig/calculator?hl=zh_CN&q=1USD%3D%3FINR

here converting 1USD to INR 这里将1USD转换为INR

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM