Function __global->_currency_convert__currency_conv_api

Definitions

sources/currency.php

  • Perform a currency conversion using "The Free Currency Converter API".
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: float

Parameters

Name Type Default Set Range Description
$amount mixed required parameter N/A N/A The starting amount (integer or float)
$from_currency ID_TEXT required parameter N/A N/A The start currency code
$to_currency ID_TEXT required parameter N/A N/A The end currency code

Return

  • The new amount (null: could not look up)
  • Type: ?float
  • Set: N/A
  • Range: N/A