Aprendiendo a traducir con los ejemplos de traducciones humanas.
De traductores profesionales, empresas, páginas web y repositorios de traducción de libre uso.
it returns exactly what the system setlocale function returns.
만약 로케일이 0 이거나 문자 "0" 일 경우, 로케일 세팅은 영향을 받지 않고 단지 현재의 설정만이 반환된다.
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
Advertencia: contiene formato HTML invisible
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.
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
see also ctype_alpha(), ctype_digit(), and setlocale().
see also setlocale().
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
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().
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
if you want to serialize non-ascii characters you have to set the appropriate locale before doing so (see setlocale()).
this example will produce:
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
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.
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
Advertencia: contiene formato HTML invisible