I18Nv2_Locale::setNumberFormat()
I18Nv2_Locale::setNumberFormat()
-- Set number format
概要
require_once 'I18Nv2/Locale.php'; |
mixed I18Nv2_Locale::setNumberFormat (int $format [, bool $custom = FALSE])
説明
Set the number format to use.
Either a I18Nv2_NUMBER constant or a custom number format.
パラメータ
- integer
$format
a I18Nv2_NUMBER constant
- boolean
$custom
whether to use a defined custom format
返り値
成功時には TRUE、
失敗時には PEAR_Error を返します。
注意
この関数は、スタティックにコールする
ことはできません。