PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::getTextAttribute
request it (345)
GoLang replacement for PHP's NumberFormatter::getTextAttribute
[edit | history]
PHP NumberFormatter::getTextAttributePHP original manual for NumberFormatter::getTextAttribute [ show | php.net ]NumberFormatter::getTextAttributenumfmt_get_text_attribute(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::getTextAttribute -- numfmt_get_text_attribute — Get a text attribute DescriptionObject oriented style
public
string
NumberFormatter::getTextAttribute
( int
$attr
)Procedural style
Get a text attribute associated with the formatter. An example of a text
attribute is the suffix for positive numbers. If the formatter does not
understand the attribute,
Parameters
Return Values
Return attribute value on success, or ExamplesExample #1 numfmt_get_text_attribute() example
<?php Example #2 OO example
<?php The above example will output: Prefix: - -1.234.567,891 Prefix: MINUS MINUS1.234.567,891 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|