RE: Number Conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux