|
NumberFormatter::getSymbolnumfmt_get_symbolGet a symbol value DescriptionObject oriented style
public
string
NumberFormatter::getSymbol
( int
$attr
)Procedural style
string
numfmt_get_symbol
( NumberFormatter
$fmt
, 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. Return Values
The symbol string or ExamplesExample #1 numfmt_get_symbol example
<?php Example #2 OO example
<?php The above example will output: Sep: . 1.234.567,891 Sep: * 1*234*567,891 See Also
|