Jump to content
Updating IPB tonight Read more... ×

Archived

This topic is now archived and is closed to further replies.

kasc

CHanging Numbers

Recommended Posts

How do I something that would do this:

100000> [u]Funtion[/u] >100,000
58967456546> [u]Funtion[/u] >58,967,456,546

Share this post


Link to post
Share on other sites
number_format(555555);

Outputs: 555,555


You'd say something like

[b]echo number_format(100000);[/b]

Share this post


Link to post
Share on other sites

×

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.