Jump to content

[SOLVED] Number formatting


Aureole

Recommended Posts

Let's say I have a field in a database and it stores a number e.g. "1056385".

 

Now if you look at that number, it's not very pleasing to the eye... however when you format it, it becomes: 1,056,385 which is much better.

 

Is there a built-in function that can do this, or am I going to have to try and write one myself?

Link to comment
https://forums.phpfreaks.com/topic/88720-solved-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.