Jump to content

Recommended Posts

Ok, i'm mysql_query()'ing and then mysql_result()'ing, so that i can print values from my database onto my site. One of these is an integer. I want there to be commas in the integer if possible. For example: instead of 1000000 - it would be 1,000,000.

Is this possible? if so how?

Thanks in advance.

-Tandem
Link to comment
https://forums.phpfreaks.com/topic/14739-commas-in-numbers/
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.