I18Nv2_Locale::setNumberFormat

I18Nv2_Locale::setNumberFormat() – 数値の書式を設定する

Synopsis

require_once 'I18Nv2/Locale.php';

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

Description

使用する数値の書式を設定します。

I18Nv2_NUMBER あるいは独自の数値書式を設定します。

Parameter

integer $format

I18Nv2_NUMBER 定数。

boolean $custom

定義済みの独自書式を使用するかどうか。

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.