Formats a currency number and allows specifying the number of decimals or a particular output format.
Parameters:
'M': outputs only the main currency name.'L': outputs the number along with the currency symbol (default).'LL': outputs the number along with the main currency name.The output depends on the API options and exchange rate settings.
Converts a number from one currency to another. The exchange rate can be passed via API options or set globally.
If no parameters are specified, the conversion is automatically performed from options.currencySource to options.currencyTarget.
Parameters:
options.currencyTarget).options.currencySource).The output is the converted currency value.