currencyRate ( string fromCurrency , string toCurrency , string _apiToken ) : float
Returns the exchange rate between two currencies.
Example
zl_to_ron_rate = currencyRate("PLN", "RON") // -> 1.198
Parameters
fromCurrency
Currency code of the source currency. Indicate the ISO code (3 letters).
toCurrency
Currency code of the destination currency. Indicate the ISO code (3 letters).
_apiToken (optional)
If you don't specify anything, the application token will be used, but it's a free account created on ExchangeRate-API. It's possible that the quota will be exceeded since so many people use it. Create your own for free.