极其郁闷的SQLServer中的float类型,求助!
OCRS 2006-04-14 08:40:41 a,b,c:float
d,e:float
我在数据库表中看到的结果是
a b, c, d, e
28882.8 20917.2 7965.6 452.0 0.0
我在查询分析其中执行:select (a-b-c)/(d+e)
结果:-1.8189894035458565E-12
后来select a,b,c
发现结果如下:28882.799999999999,20917.200000000001,7965.6000000000004????为什么不一样?怎么办?