Обучается переводу с помощью примеров, переведенных людьми.
Добавлены профессиональными переводчиками и компаниями и на основе веб-страниц и открытых баз переводов.
see also setlocale().
setlocale() も参照下さい。
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
it returns exactly what the system setlocale function returns.
ロケールが 0 または "0" の場合、ロケール 設定は適用されず、単に現在の設定が返されます。
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
Предупреждение: Содержит скрытое HTML-форматирование
use setlocale() to set to the appropriate default locale before using this function.
注意 the lc_monetary category of the locale settings, affects the behavior of this function. use setlocale() to set to the appropriate default locale before using this function.
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
see also ctype_alpha(), ctype_digit(), and setlocale().
setlocale() も参照下さい。
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
month and weekday names and other language dependent strings respect the current locale set with setlocale().
指定した timestamp または timestamp が指定されていない場合に現在のローカル時間を用いて指定した フォーマット文字列に基づき文字列をフォーマットして返します。 月および曜日の名前およびその他の言語依存の文字列は、 setlocale() でセットされた現在のロケールに関係 します。
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
if you want to serialize non-ascii characters you have to set the appropriate locale before doing so (see setlocale()).
この例は次の出力を行います。
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
the functions provided by this extension check whether a character or string falls into a certain character class according to the current locale (see also setlocale()).
以下の関数は、現在のロケール( setlocale() も参照) に基づき文字または文字列がある文字クラスに含まれるかどうかを調べ ます。
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
1.234,56 / / using a negative number $number = -1234.5672; / / us national format, using () for negative numbers / / and 10 digits for left precision setlocale(lc_monetary, 'en_us'); echo money_format('%(#10n', $number) ."\n"; / / ($1,234.57) / / similar format as above, adding the use of 2 digits of right / / precision and '* 'as a fill character echo money_format('%=*(#10.2n', $number) ."\n"; / / ($********1,234.57) / / let's justify to the left, with 14 positions of width, 8 digits of / / left precision, 2 of right precision, withouth grouping character / / and using the international format for the de_de locale. setlocale(lc_monetary, 'de_de'); echo money_format('%=*^-14#8.2i', 1234.56) ."\n"; / / dem 1234,56**** / / let's add some blurb before and after the conversion specification setlocale(lc_monetary, 'en_gb'); $fmt = 'the final value is %i (after a 10%% discount)'; echo money_format($fmt, 1234.56) ."\n"; / / the final value is gbp 1,234.56 (after a 10% discount)?
we will use different locales and format specifications to illustrate the use of this function.
Последнее обновление: 2011-10-24
Частота использования: 1
Качество:
Предупреждение: Содержит скрытое HTML-форматирование