advanced code snippet search
blackf0rk on 07/11/09
php format money currency
07/11/09 05:02pm
2 people have marked this snippet as a favorite
vali29silentbob84
$double = 1.5;$price = "$".number_format($double,2);#returns "$1.50"
Report this snippet Tweet
Comment:
You need to login to post a comment.