You can use the built in number_format function.
Check out:
http://www.php.net/manual/en/function.number-format.php
Reuben D. Budiardja
Web Database Application Programmer / Analyst
Devcorps, ITS
Goshen College, IN 46526
At 10:40 AM 3/19/01 -0700, Karl J. Stubsjoen wrote:
>Hello,
>
>Has anyone written a nifty little function to add commas to big numbers
>like:
>1188889 so--> 1,188,889
>
>If so, please share!
>
>Karl
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]