PHP » PYTHON |
login |
register |
about
|
money_format(PHP 4 >= 4.3.0, PHP 5) money_format — Formats a number as a currency string Description
string money_format
( string $format
, float $number
)
money_format() returns a formatted version of number . This function wraps the C library function strfmon(), with the difference that this implementation converts only one number at a time. Parameters
Return ValuesReturns the formatted string. Characters before and after the formatting string will be returned unchanged. Non-numeric number causes returning NULL and emitting E_WARNING. Notes
Examples
Example #1 money_format() Example We will use different locales and format specifications to illustrate the use of this function.
<?php
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|