Exchange rate in formulas

Hello.

Now, when creating online calculators, in formulas, you can use the online exchange rate. In addition to the previous functions, we have added another one, with which you can get the exchange rate of a given currency directly in the formula.The new function is called exchangeRates() and is located in the general list of functions:

The writing format for this function is as follows:

exchangeRates()

Where:

1 parameter - the amount to be converted from one currency to another
2 parameter - currency in which the amount is specified
3 parameter - currency to which amount should be converted
4 parameter - the default exchange rate, in case the online exchange rate could not be obtained

The following currencies are currently available:

  • USD - US dollar
  • EUR - euro
  • GBP - pound sterling
  • UAH - ukrainian hryvnia
  • RUB - russian ruble
  • KZT - kazakh tenge
  • PLN - polish zloty
  • CZK - czech krone
  • CNY - chinese yuan

What currency are you missing? Write in the comments and we'll be sure to add it.

This site is used to get exchange rates. This service collects exchange rates from different banks and generates an average value. The rate is updated several times a day.

If in your calculations the price is tied to the exchange rate, then with this function you will greatly facilitate your work and you will not need to update prices manually.

That's all for today. Have a great day.

Comments
Ready-made templates of web forms
Gold

Calculate the cost of washing your car and get a discount.

With this template in the form of a receipt, you can attract customers for service in your car wash. Template can be edited, added and removed fields Details
Platinum

Plastic window calculator

With the help of plastic window calculator the user can calculate the cost of the chosen profile, double glazing and additional options. Details
Gold

Calculating the cost of building a house

With this quiz, the user is prompted to answer several questions that can be used to calculate the approximate cost of building a house Details
Gold

Find out the cost of a fitness club subscription

Complete the test and take 3 times a day, without having to do anything. Details

Order turnkey form development

No time to figure out all the settings yourself? No problem!
Order web form development from us