Why are rounded numbers?

[expired user #9264]'s profile image [expired user #9264] posted 9 years ago in General Permalink
I write 10.6200000
and recorded 10.6199997
?????
Electrosa's profile image Electrosa posted 9 years ago Permalink
It depends on the data type you are using. In MySQL, use DECIMAL instead of FLOAT/DOUBLE to avoid that.
[expired user #9264]'s profile image [expired user #9264] posted 9 years ago Permalink
i'm sorry. i am stupid.
thank you.

Please login to leave a reply, or register at first.