![]() currency converters to verify your results, they may be using real-time data that. Here is how you would get the value, using the org.json library that you can find here. Fixer API is an API which is used to retrieve current and historical foreign exchange (forex) rates. Your program should use the following data for currency conversions. So to find another value it would be:Īmount * Exchange Rate = value for that SymbolĮDIT: An update based on your comment. currency-converter Star Here are 46 public repositories matching this topic. Quote against a different currency by setting the base parameter in your request." So what that means is if you put in 100, it's looking at the rate of 100 Euro. The output of the program should look like this below: (Example) Welcome to the Currency Converter Program (Example) Use the following codes to input your currency choices: 1 US Dollars 2 Euros 3 British Pounds 4 Japanese Yen Please choose the input currency: 2 Now choose the output currency: 1 Now enter the input in Euros. They do so by connecting to a database of current currency exchange rates. If you look on their github page here you will see in the README it says "Rates are quoted against the Euro by default. Access to a web service to get currency exchange rates Java code to send a request and read. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |