The service converts money amounts between different national currencies based on current exchange rates, updated every 20 minutes based on foreign exchange market transactions. Applications can use the service to display prices in multiple currencies and to book transactions at the right prices, as determined by international exchange rates. Users see accurate prices in the currencies they use, allowing easy comparison of purchasing options.
API methods support submission of an input value, specifying the currency in which it is denominated and the currency of the desired output value. The service converts the input value based on the current exchange rate between the two currencies and returns the correct output value.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.