Jump to content

Number formatting?


papaface

Recommended Posts

Hello,

Currently I am extracting a number from a mysql database. It is coming out as 4156 but how can i get it formatted so that it puts a , after the 4? 4,156

This record is dynamic so it is incremented all the time, so it will eventually get to something like 4324455 which should view as 4,324,455

 

How can I get this to work? Is there some function in PHP that does this?

Link to comment
https://forums.phpfreaks.com/topic/52695-number-formatting/
Share on other sites

Archived

This topic is now archived and is 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.