Formats a number as a currency string.
Parameters | |||
---|---|---|---|
string
|
$format |
The format specification. See {@link http://php.net/money_format}. |
# |
number
|
$number |
The number to be formatted. |
# |
Returns | |
---|---|
string
|
Returns the formatted string. Characters before and after the formatting string will be returned unchanged. |