|
NumberFormatter::getTextAttributenumfmt_get_text_attributeGet a text attribute DescriptionObject-oriented style
public stringfalse NumberFormatter::getTextAttribute(int
$attribute )Procedural style stringfalse numfmt_get_text_attribute(NumberFormatter
$formatter , int $attribute )
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
Example #2 OO example
The above example will output: Prefix: - -1.234.567,891 Prefix: MINUS MINUS1.234.567,891 See Also
|