PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::getAttribute
request it (383)
GoLang replacement for PHP's NumberFormatter::getAttribute
[edit | history]
PHP NumberFormatter::getAttributePHP original manual for NumberFormatter::getAttribute [ show | php.net ]NumberFormatter::getAttributenumfmt_get_attribute(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::getAttribute -- numfmt_get_attribute — Get an attribute DescriptionObject oriented style
public
int
NumberFormatter::getAttribute
( int
$attr
)Procedural style Get 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
Return attribute value on success, or ExamplesExample #1 numfmt_get_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
|