|
NumberFormatter::createnumfmt_createNumberFormatter::__constructCreate a number formatter DescriptionObject-oriented style (method)
public static NumberFormatternull NumberFormatter::create(string
$locale, int $style, stringnull $pattern = null)Procedural style NumberFormatternull numfmt_create(string
$locale, int $style, stringnull $pattern = null)Object-oriented style (constructor): public NumberFormatter::__construct(string
$locale, int $style, stringnull $pattern = null)Creates a number formatter. Parameters
Return Values
Returns NumberFormatter object or Errors/Exceptions
A ValueError is thrown if
Changelog
ExamplesExample #1 numfmt_create example Example #2 NumberFormatter::create example The above example will output: 1.234.567,891 millicentoquarantadue See Also
|