PHP » GoLang |
login |
register |
about
|
GoLang NumberFormatter::setTextAttribute
request it (352)
GoLang replacement for PHP's NumberFormatter::setTextAttribute
[edit | history]
PHP NumberFormatter::setTextAttributePHP original manual for NumberFormatter::setTextAttribute [ show | php.net ]NumberFormatter::setTextAttributenumfmt_set_text_attribute(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) NumberFormatter::setTextAttribute -- numfmt_set_text_attribute — Set a text attribute DescriptionObject oriented style
public
bool
NumberFormatter::setTextAttribute
( int
$attr
, string $value
)Procedural style
Set 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
Returns ExamplesExample #1 numfmt_set_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
|