Finance:Currency converter
A currency converter is software code that is designed to convert one currency into another in order to check its corresponding value. The code is generally a part of a web site or it forms a mobile app and it is based on current market or bank exchange rates.
In order to convert one currency into another, a user enters an amount of money (e.g. '1000') and chooses the currency he/she wishes to check the monetary value of (e.g. 'United States Dollar'). After that, the user selects one, or sometimes several other currencies, he/she would like to see the result in. The application software then calculates and displays the corresponding amount of money.
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. The frequency at which currency converters update the exchange rates they use varies: Yahoo currency converter updates its rates every day, while Convert My Money< every hour.
Currency converters usually display a value that is not biased towards buying or selling. This is useful when:
- Estimating the value of goods or services
- Basic accounting and invoicing
- Preparing financial plans and reports
The currency conversion software calculates the rates as decimal point numbers with typically 4 decimals after the comma. Some may calculate the conversion rates with more decimals internally but only 4 are displayed. This is related to precision, software internalization (i18n) and how the Forex (foreign exchange) market works, where most conversions have 4 decimal places, although some currency pairs also have 5. Most currency converters use up to 4.
References