|
NumberFormatter::getSymbolnumfmt_get_symbolGet a symbol value BeschreibungObjektorientierter Stil
public
string
NumberFormatter::getSymbol
( int
$attr
)Prozeduraler Stil
string
numfmt_get_symbol
( NumberFormatter
$fmt
, int $attr
)Get a symbol associated with the formatter. The formatter uses symbols to represent the special locale-dependent characters in a number, for example the percent sign. This API is not supported for rule-based formatters. Parameter-Liste
Rückgabewerte
The symbol string or BeispieleBeispiel #1 numfmt_get_symbol example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: Sep: . 1.234.567,891 Sep: * 1*234*567,891 Siehe auch
|