[mysql] float are not accurate? +REP

my friend told me that I should use Floatstr instead of floats over mysql because it's not accurate or something like that, any explainations?

Yes, rounding errors can occur due to the way floating point numbers are stored but they are accurate enough for their purposes. For example 3.1 might be stored as 3.09999 but no-one's going to notice that a position is off by 1/100,000th of a meter.


Forum Jump:

Users browsing this thread: 1 Guest(s)