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? ??? Quote 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() Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.