update : 2015.11.03
php.shukuma.com검색:
|
NumberFormatter::setSymbolnumfmt_set_symbol(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) NumberFormatter::setSymbol -- numfmt_set_symbol — Set a symbol value 설명객체 기반 형식
public
bool
NumberFormatter::setSymbol
( int
$attr
, string $value
)절차식 형식 Set a symbol associated with the formatter. The formatter uses symbols to represent the special locale-dependent characters in a number, for example the percent sign. This API is not supported for rule-based formatters. 인수
반환값
성공 시 예제Example #1 numfmt_set_symbol() example
<?php Example #2 OO example
<?php 위 예제의 출력: Sep: . 1.234.567,891 Sep: * 1*234*567,891 참고
|