Extend precision of MySQL's double datatype?

Posted by tim82 on Stack Overflow See other posts from Stack Overflow or by tim82
Published on 2010-04-15T21:53:43Z Indexed on 2010/04/15 22:03 UTC
Read the original article Hit count: 256

Filed under:
|
|

I am trying to save the value "6.714285714285714" into a DOUBLE datatype field.
Unfortunately it does not fit at all and is cutted by one char. Storing larger numbers becomes less precise.

Already searched in the mysql manual and it seems to be that double is the most precise data type available. Anyone knows a practicable workaround?

Sorry for my bad english and thx a lot!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about datatype