|
NumberFormatter::formatnumfmt_formatFormat a number DescriptionObject-oriented style
public stringfalse NumberFormatter::format(intfloat
$num, int $type = NumberFormatter::TYPE_DEFAULT)Procedural style stringfalse numfmt_format(NumberFormatter
$formatter, intfloat $num, int $type = NumberFormatter::TYPE_DEFAULT)Format a numeric value according to the formatter rules. Parameters
Return Values
Returns the string containing formatted value, or ExamplesExample #1 numfmt_format example Example #2 OO example The above example will output: string(13) "1.234.567,891" Notes
See Also
|