Jump to content

why is DOUBLE getting roounded?


dflow

Recommended Posts

PHP automatically rounds decimal numbers to whole-numbers.

Only in certain contexts.

 

@dflow, you're going to need to show us more code that is relevant to your problem.  We need to know how the value is created (or where it's coming from) and see how you're trying to insert it into your database.

 

We'd also need to know the table structure for the table you're inserting into.

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.