Dostupnost ve verzích: PHP 4.3.0
Formats a number as a currency string
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$format |
string |
není | The format specification consists of the following sequence: a % character |
$number |
float |
není | The number to be formatted. |
string
the formatted string. Characters before and after the formatting
string will be returned unchanged.
Non-numeric number causes returning &null; and
emitting E_WARNING.
Oficiální dokumentace funkce money-format
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs