• Online Demo
  • 30-day Free Trial

importCurrency(&$currency) – Import a Currency.

Input:

  1. Array (
  2.     [code] => USD
  3.     [format] => 1
  4.     [prefix] => $
  5.     [suffix] =>
  6. )

Returns: NULL

Definition:

  • [code] – ISO 4217 Currency Code
  • [format] - Numerical format for currency (1 - 1,234.56; 2 - 1.234,56; 3 - 1 234.56; 4 - 1 234,56; 5 - 1,23,456.78; 6 - 1 234; 7 - 1.234; 8 - 1,234;).
  • [prefix] – Prefix symbol.
  • [suffix] – Suffix symbol.


Import Methods