|
NumberFormatter::parsenumfmt_parseParse a number BeschreibungObjektorientierter Stil
public
mixed
NumberFormatter::parse
( string
$value
[, int $type
[, int &$position
]] )Prozeduraler Stil
mixed
numfmt_parse
( NumberFormatter
$fmt
, string $value
[, int $type
[, int &$position
]] )Parse a string into a number using the current formatter rules. Parameter-Liste
Rückgabewerte
The value of the parsed number or BeispieleBeispiel #1 numfmt_parse example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 1234567.891 1234567 Siehe auch
|