PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::create
request it (362)
GoLang replacement for PHP's NumberFormatter::create
[edit | history]
NumberFormatter::createnumfmt_createNumberFormatter::__construct(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::create -- numfmt_create -- NumberFormatter::__construct — Create a number formatter DescriptionObject oriented style (method)
public
static
NumberFormatter
NumberFormatter::create
( string
$locale
, int $style
[, string $pattern
] )Procedural style 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 |
more
Recently updated
more
Most requested
more
Last requests
|