Jump to content

Php calculation question?


Cagri

Recommended Posts

You can also just use sprintf to get it in another formatting. Like

sprintf('%d', $largeInteger);

 

 

Oh yeah.... I didn't think about sprintf.

 

 

 

Yeah, I didn't think about number_format either.  I'm sure doing the math normally then using number_format is faster than bcpow.

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.