update : 2015.11.03
php.shukuma.com검색:
|
NumberFormatter::formatCurrencynumfmt_format_currency(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) NumberFormatter::formatCurrency -- numfmt_format_currency — Format a currency value 설명객체 기반 형식
public
string
NumberFormatter::formatCurrency
( float
$value
, string $currency
)절차식 형식 Format the currency value according to the formatter rules. 인수
반환값String representing the formatted currency value. 예제Example #1 numfmt_format_currency() example
<?php Example #2 OO example
<?php 위 예제의 출력: 1.234.567,89 € 1.234.567,89 RUR 1 234 567,89€ 1 234 567,89р. 참고
|