전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.
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().
see also setlocale().
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
month and weekday names and other language dependent strings respect the current locale set with setlocale().
returns a string formatted according to the given format string using the given timestamp or the current local time if no timestamp is given. month and weekday names and other language dependent strings respect the current locale set with 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()).
this example will produce:
마지막 업데이트: 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 형식이 포함되어 있습니다