我如何在C#中计算美元对印度卢比的美元价值 [英] how do i calculate doller value to indian rupee in c#
本文介绍了我如何在C#中计算美元对印度卢比的美元价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在c#
推荐答案
google或发布codeproject搜索之前,先计算印度卢比的美元价值.我必须告诉你这非常方便:)
用于获取货币汇率的简单类 [ ^ ]
希望对您有帮助.
Kindly google before posting or use the codeproject search. It is very handy i must tell you :)
Simple Class to get Currency Exchange Rates[^]
Hope this helps you.
在此函数中首先传递的美元值要比您在一个美元的货币中传递多少卢比的值
像"double dollorValue = getDollorToRupee(5000,56);"
in this function first pass the dollor value than you pass the value of in one dollor how many ruppes
like "double dollorValue= getDollorToRupee(5000,56);"
private double getDollorToRupee(double DollOrValue, double OneDollarEqulal_Rupee)
{
double indianRupee = 0;
return indianRupee = DollOrValue * OneDollarEqulal_Rupee;
}
这篇关于我如何在C#中计算美元对印度卢比的美元价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文