Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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
Posted

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!
 
Share this answer
 
v2
Comments
[no name] 9-Apr-12 11:22am    
You don't "have" to use a webservice. There are many ways to implement this.
Ankur\m/ 9-Apr-12 11:30am    
How do you get the current rates then?
[no name] 9-Apr-12 19:27pm    
The rates can be supplied any way required, from a database, from speardsheet, etc. It is not REQUIRED to use as web service as you suggest.
Ankur\m/ 10-Apr-12 0:55am    
Okay, I think you got me on my English. Please understand that it is not my first language. I will to choose better combination of words next time.

I feel our understanding of the question was different. When I saw ASP.NET tag, I assumed that the OP needed current converted rates. I believe my answer isn't incorrect, the English is.
I respect your feedback and thus improving the answer.
Thanks you!
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
 
Share this answer
 
v2

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