I have a table that contains a float column.
There are many records in that table.
When I do a Group By it shows that the float column has only the values: 0.1 0.2 0.25 0.5 1 2 3
But when I do a SUM it results in: 58.350000000000087
Where does the 0000000000087 come from? Is it because I'm using a float type instead of a decimal/numeric? I read some forum posts about this but the math hurts my head. What would be the correct way to get accurate results?