almightyegg Posted February 2, 2007 Share Posted February 2, 2007 i have a query $totalpoints which is a number that comes out normally in large numbers and i would like to have (instead of 123456789) it come out 123,456,789 or 1,234,567 i don't know how to do this...can you guys help? ??? Link to comment https://forums.phpfreaks.com/topic/36836-splitting-a-number-up-with-commas/ Share on other sites More sharing options...
Jessica Posted February 2, 2007 Share Posted February 2, 2007 number_format() Link to comment https://forums.phpfreaks.com/topic/36836-splitting-a-number-up-with-commas/#findComment-175734 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.