|
NumberFormatter::setTextAttributenumfmt_set_text_attributeSet a text attribute BeschreibungObjektorientierter Stil
public
bool
NumberFormatter::setTextAttribute
( int
$attr
, string $value
)Prozeduraler Stil
bool
numfmt_set_text_attribute
( NumberFormatter
$fmt
, int $attr
, string $value
)
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,
Parameter-Liste
Rückgabewerte
Gibt bei Erfolg BeispieleBeispiel #1 numfmt_set_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
|