Martin Jeremic wrote:
> 
> I have inserted 1234567890 in a float field. mySQL server rounded this
> to 1234570000. Then i have inserted 9999999999 in same field, and tis
> was rounded to 10000000000. Is this a bug or someyhing else? Field is
> declared as "field1 float"
> 
> --
> Martin Jeremic - JSoft
> 
> http://jsoft.webjump.com/
> mailto:[EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail 
><[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

If you want accuracy, don't use floats.
Use numeric.
It is NOT a bug.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to