One table:
items(id, price)
Has one row:
id: 1, price: 565.8
SELECT price FROM items
gives 565.8
SELECT SUM(price) FROM items
gives 565.799987792969
instead of 565.8
which I'd expect.
Where does the 565.799987792969
come from?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…