money
(function)
Purpose:
Formats numbers to US currency format
Example:
echo money(20.50);
Data Type(s):
money(float);
Location:
users/helpers/helpers.php
Details:
Note: It is not recommended that you store currency symbols in the database along with the amounts.
<?=money(20.50);?>
prints
$20.50