Math Functions: Data Calculator
Math Functions: Data
PowerOne provides a data function to retrieve automatically updated data. Currently this data is comprised of currency exchange rates.
Data
++data("source"; "data")++
Get the 'data' for 'source' where 'source' is the source of the data and 'data' is the actual data desired. Both 'data' and 'source' should be within quote marks.
__This function is only available in templates.__
See specific examples below.
Currencies
++data("currency"; "to")++ : returns the cross-"currency" exchange rate for 1 unit of "usd" in "to" units
++data("currency"; "fromto")++ : returns the cross-currency exchange rate for 1 unit of "from" to "to" units where "fromto" is a compound of the two currencies
++data("currencydate"; "symbol")++ : returns the date last updated for "symbol"
Returns a currency exchange rate or data for a currency or cross-currency.
**Details**
- List of [https://.../t/help_currencies|available currencies and their abbreviations]
**Example**
[https://.../t/e38bbbe2640ddf8feb7a | Currency Conversions]
[https://.../t/e977922732e9332f6ca6 | Cyrptocurrency Conversions]
Keywords
-------------
Currencies
Currency
Exchange Rates