Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To implement a currency converter for helping the buyers to know how much cost in their own currency?

Tags:

c#

.net

asp.net

In my asp.net(c#) shopping cart web application.

I need to implement a currency converter for helping the buyers to know how much cost in their own currency.

When a buyer selects his country.I need to show the converted amount based on his country. Please give examples/reference links for solving the same.

like image 218
Krishnan Avatar asked Mar 11 '10 07:03

Krishnan


People also ask

What is the purpose of a currency converter?

Currency converters aim to maintain real-time information on current market or bank exchange rates, so that the calculated result changes whenever the value of either of the component currencies does. They do so by connecting to a database of current currency exchange rates.

Which exchange rate is used for converting purchase?

A conversion rate is the ratio between two currencies, most commonly used in foreign exchange markets, which designates how much of one currency is needed to exchange for the equivalent value of another currency.

What is the process of converting currency called?

And this process of exchanging one country's currency to another is known as currency exchange.

How do you convert currency using exchange rate?

Suppose that the EUR/USD exchange rate is 1.20 and you'd like to convert $100 U.S. dollars into euros. Simply divide the $100 by 1.20. The result is the number of euros: 83.33. Converting euros to U.S. dollars means reversing that process: multiply the number of euros by 1.20 to get the number of U.S. dollars.


1 Answers

You can use a web service like http://webservices.lb.lt/ExchangeRates/ExchangeRates.asmx to get the currency rates and calculate the details in your application.

Be careful state that the rates are indicative and might be different in billed charges.

like image 78
Krishna Kumar Avatar answered Oct 20 '22 09:10

Krishna Kumar