如何兑换货币 [英] how to convert currency

查看:72
本文介绍了如何兑换货币的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我现在正在搜索C#函数,以便能够将英镑,美元和欧元转换为沙特阿拉伯里亚尔

所以,任何人都可以帮我吗

谢谢

解决方案

如果您需要实时汇率,则必须使用Web服务来获取汇率并更新您的网站.

网络上有很多示例- [ ^ ]

希望对您有所帮助!


没有内置函数,您必须创建它,这只是简单的数学运算.

要转换的值*当前汇率=值

hi all
i am searching now for C# function to be able to convert from U.K. Pound Sterling, U.S. Dollar and Euro to Saudi Arabian Riyal

So , can anyone help me please

Thanks

解决方案

If you need real time exchange rates, you will have to use a web service to get them and update your site.

There are many examples on the web - Google search result for "currency conversion web service"[^]

Hope this helps!


There is no builtin function for this, you would have to create it and it is just simple math.

value to convert * current exchange rate = value


这篇关于如何兑换货币的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆