RE: [PHP-DB] Number Conversion
| From: | USA) | Date: | Thu, 17 Oct 2002 18:54:17 +0000 |
| Subject: | RE: [PHP-DB] Number Conversion | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22481@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.number-format.php
number_format($number);
<>< Ryan
-----Original Message-----
From: Manoj Japher [mailto:manojjapher@rediffmail.com]
Sent: Thursday, October 17, 2002 12:52 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Number Conversion
hi,
I would like to format my output. I would like to represent my
integer outputs as 2,000 instead of 2000 which it prints by
default.
For e.g. I want 2000000 to be printed as 2,000,000
Do we have any functions which does that?
Thanks in advance,
Best Regards,
Manoj
"Life,it is not a problem to be solved, but
a process to be managed."
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php