What is the best way to present a number putting the commas into it e.g.
Currently: 12044536645
I want: 12,044,536,645
Thanks
Number formatting
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Number formatting
You practically answered your own question in the thread title.tommy1987 wrote:What is the best way to present a number putting the commas into it e.g.
Currently: 12044536645
I want: 12,044,536,645
Thanks
php.net is your friend
http://www.php.net/number_format