C
Chlaris
Hello,
I have the following table :
Table Name : tblStock
Field : Qty
Data Type : Number
Field Size : Double
The table has 4 records :
-8
-2.7
2.7
8
Run this sql statement :
SELECT Sum(tblStock.Qty) AS SumOfQty
FROM tblStock;
The query returns 8.88178419700125E-16
Actually it should be zero.
What's wrong with Double type format ?
Thanks.
Chlaris
I have the following table :
Table Name : tblStock
Field : Qty
Data Type : Number
Field Size : Double
The table has 4 records :
-8
-2.7
2.7
8
Run this sql statement :
SELECT Sum(tblStock.Qty) AS SumOfQty
FROM tblStock;
The query returns 8.88178419700125E-16
Actually it should be zero.
What's wrong with Double type format ?
Thanks.
Chlaris