http://php.net/number_format
is what you are looking for. - Frank > Hi > I have a field in my MySQL database that's a decimal where I have figures of > millions without the decimal point - > > i.e - 1500000 > > Is there a function in PHP to display this figure as a $ amount - > > i.e - $1,500,000 > > I searched PHP manual without finding anything. If there is something in > the manual, can someone point me to it.. > > Regards, Pat > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php