I18Nv2_Locale::setCurrencyFormat() – Set currency format


require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setCurrencyFormat ( int $format , bool $custom = false )


Set the currency format to use.

Either I18Nv2_CURRENCY_LOCAL, I18Nv2_CURRENCY_INTERNATIONAL or a custom currency format.


integer $format

a I18Nv2_CURRENCY constant

boolean $custom

whether to use a defined custom format

Return value

Returns TRUE on success, PEAR_Error on failure.


This function can not be called statically.

Set custom format (Previous) Set date format (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.