|
NumberFormatter::getTextAttributenumfmt_get_text_attributeGet a text attribute BeschreibungObjektorientierter Stil
public
string
NumberFormatter::getTextAttribute
( int
$attr
)Prozeduraler Stil
string
numfmt_get_text_attribute
( NumberFormatter
$fmt
, int $attr
)
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,
Parameter-Liste
Rückgabewerte
Return attribute value on success, or BeispieleBeispiel #1 numfmt_get_text_attribute example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: Prefix: - -1.234.567,891 Prefix: MINUS MINUS1.234.567,891 Siehe auch
|