|
NumberFormatter::createnumfmt_createNumberFormatter::__constructCreate a number formatter DescriptionObject oriented style (method)
public
static
NumberFormatter
NumberFormatter::create
( string
$locale
, int $style
[, string $pattern
] )Procedural style
NumberFormatter
numfmt_create
( string
$locale
, int $style
[, string $pattern
] )Object oriented style (constructor):
public
NumberFormatter::__construct
( string
$locale
, int $style
[, string $pattern
] )Creates a number formatter. Parameters
Return Values
Returns NumberFormatter object or ExamplesExample #1 numfmt_create example
<?php Example #2 NumberFormatter::create example
<?php The above example will output: 1.234.567,891 millicentoquarantadue See Also
|