Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
1.80/5 (3 votes)
See more:
how do i calculate doller value to indian rupee in c#
Posted
Comments
Technoses 28-May-12 7:20am    
if you have Doller Rate in Indian Rupee
you can direct multiply it

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);"

C#
private double getDollorToRupee(double DollOrValue, double OneDollarEqulal_Rupee)
        {
            double indianRupee = 0;
            return indianRupee = DollOrValue * OneDollarEqulal_Rupee;
        }
 
Share this answer
 
v3
Comments
Umer Aziz Malik 28-May-12 7:41am    
A good solution if you know the exchange prices :)
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900