update : 2015.11.03
php.shukuma.com검색:
|
NumberFormatter::getAttributenumfmt_get_attribute(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) NumberFormatter::getAttribute -- numfmt_get_attribute — Get an attribute 설명객체 기반 형식
public
int
NumberFormatter::getAttribute
( int
$attr
)절차식 형식 Get a numeric attribute associated with the formatter. An example of a numeric attribute is the number of integer digits the formatter will produce. 반환값
Return attribute value on success, or 예제Example #1 numfmt_get_attribute() example
<?php Example #2 OO example
<?php 위 예제의 출력: Digits: 3 1.234.567,891 Digits: 2 1.234.567,89 참고
|