I18Nv2_Locale::setCurrencyFormat

I18Nv2_Locale::setCurrencyFormat() – 金額の書式を設定する

Synopsis

require_once 'I18Nv2/Locale.php';

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

Description

使用する金額の書式を設定します。

I18Nv2_CURRENCY_LOCALI18Nv2_CURRENCY_INTERNATIONAL のいずれか、あるいは独自の書式を指定します。

Parameter

integer $format

I18Nv2_CURRENCY 定数。

boolean $custom

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

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.