|
NumberFormatter::formatnumfmt_formatFormat a number BeschreibungObjektorientierter Stil
public
string
NumberFormatter::format
( number
$value
[, int $type
] )Prozeduraler Stil
string
numfmt_format
( NumberFormatter
$fmt
, number $value
[, int $type
] )Format a numeric value according to the formatter rules. Parameter-Liste
Rückgabewerte
Returns the string containing formatted value, or BeispieleBeispiel #1 numfmt_format example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 1.234.567,891 Siehe auch
|