Example
The following formula converts an amount of Euros specified in cell A1
to Croatian kunas based on the buying rate defined from the Croatian National Bank.
=Windy.ToHRK(A1,"EUR",DATE(2021,4,1),1)
Parameters
amount/iznos
- the amount of money to convertfromCurrency
- the currency to convert from (e.g. "EUR", "USD", "GBP")date
- the date for which the exchange rate is takentype/tip
- specifies the type of exchange rate to use- 0 - middle rate
- 1 - buying rate
- 2 - selling rate