update : 2015.11.03
php.shukuma.com검색:
|
NumberFormatter::getSymbolnumfmt_get_symbol(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) NumberFormatter::getSymbol -- numfmt_get_symbol — Get a symbol value 설명객체 기반 형식
public
string
NumberFormatter::getSymbol
( int
$attr
)절차식 형식 Get 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. 반환값
The symbol string or 예제Example #1 numfmt_get_symbol() example
<?php Example #2 OO example
<?php 위 예제의 출력: Sep: . 1.234.567,891 Sep: * 1*234*567,891 참고
|