update : 2015.11.03
php.shukuma.com검색:
|
NumberFormatter::setTextAttributenumfmt_set_text_attribute(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) NumberFormatter::setTextAttribute -- numfmt_set_text_attribute — Set a text attribute 설명객체 기반 형식
public
bool
NumberFormatter::setTextAttribute
( int
$attr
, string $value
)절차식 형식
Set a text attribute associated with the formatter. An example of a text
attribute is the suffix for positive numbers. If the formatter does not
understand the attribute,
인수
반환값
성공 시 예제Example #1 numfmt_set_text_attribute() example
<?php Example #2 OO example
<?php 위 예제의 출력: Prefix: - -1.234.567,891 Prefix: MINUS MINUS1.234.567,891 참고
|