PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::setPattern
request it (329)
GoLang replacement for PHP's NumberFormatter::setPattern
[edit | history]
PHP NumberFormatter::setPatternPHP original manual for NumberFormatter::setPattern [ show | php.net ]NumberFormatter::setPatternnumfmt_set_pattern(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::setPattern -- numfmt_set_pattern — Set formatter pattern DescriptionObject oriented style
public
bool
NumberFormatter::setPattern
( string
$pattern
)Procedural style Set the pattern used by the formatter. Can not be used on a rule-based formatter. Parameters
Return Values
Returns ExamplesExample #1 numfmt_set_pattern() example
<?php Example #2 OO example
<?php The above example will output: Pattern: #,##0.### 1.234.567,891 Pattern: #0.# kg 1234567,9 kg See Also
|
more
Recently updated
more
Most requested
more
Last requests
|