PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::setAttribute
request it (364)
GoLang replacement for PHP's NumberFormatter::setAttribute
[edit | history]
PHP NumberFormatter::setAttributePHP original manual for NumberFormatter::setAttribute [ show | php.net ]NumberFormatter::setAttributenumfmt_set_attribute(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::setAttribute -- numfmt_set_attribute — Set an attribute DescriptionObject oriented style
public
bool
NumberFormatter::setAttribute
( int
$attr
, int $value
)Procedural style Set a numeric attribute associated with the formatter. An example of a numeric attribute is the number of integer digits the formatter will produce. Parameters
Return Values
Returns ExamplesExample #1 numfmt_set_attribute() example
<?php Example #2 OO example
<?php The above example will output: Digits: 3 1.234.567,891 Digits: 2 1.234.567,89 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|