Re: displaying a numeral
| From: | cybot | Date: | Wed, 29 Jan 2003 18:41:31 +0000 |
| Subject: | Re: displaying a numeral | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18188@lists.php.net to get a copy of this message | ||
number_format()
Pat Johnston wrote:
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-- Sebastian Mendel info@sebastianmendel.de www.sebastianmendel.de www.tekkno4u.de www.nofetish.com