Jump to content

[SOLVED] help with numbers


EchoFool

Recommended Posts

I have a format of a number like this:

 

number_format($number,5);

 

to put it to 5 decimal places. Now the problem is say the number is over 1000 it puts a comma:

 

1,000.12345

 

which then crashes my query. How can i make it not add a number format with the comma but still keep it 5 decimal places?

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