|
money_formatFormats a number as a currency string Warning
This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged. Description
string money_format(string
$format , float $number )
money_format returns a formatted version of
Parameters
Return Values
Returns the formatted string. Characters before and after the formatting
string will be returned unchanged.
Non-numeric Changelog
Examples
Example #1 money_format Example We will use different locales and format specifications to illustrate the use of this function.
Notes
See Also
|