Wikipedia also has more details on the limits of precision of 4 byte floats: Single Precision Floating Point. You can only store integers with less than 6 significant digits of precision with the guarantee that you won't suffer approximation. If you need the precision, make sure you choose a type that supports it, and be aware that floating point can get approximated different ways in different implementations that both comply with the same standard.
In reply to Re^2: Retrieve float number from mysql db
by bitingduck
in thread OT: Retrieve float number from mysql db
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |