I18Nv2_Locale::setNumberFormat()

I18Nv2_Locale::setNumberFormat()  -- Set number format

Referentiesamenvatting

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::setNumberFormat (int $format [, bool $custom = FALSE])

Beschrijving

Set the number format to use.

Either a I18Nv2_NUMBER constant or a custom number format.

Parameter

integer $format

a I18Nv2_NUMBER constant

boolean $custom

whether to use a defined custom format

Return waarde

Geeft TRUE terug bij success, PEAR_Error als het faalt.

Note

Deze functie kan niet statisch worden aangeroepen.