|
NumberFormatter::setSymbolnumfmt_set_symbolSet a symbol value DescriptionObject oriented style
public
bool
NumberFormatter::setSymbol
( int
$attr
, string $value
)Procedural style
bool
numfmt_set_symbol
( NumberFormatter
$fmt
, int $attr
, string $value
)Set 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. Parameters
Return Values
Returns ExamplesExample #1 numfmt_set_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
|