Freefall27
Technical User
Working in Access 2000 and experiencing a calculation issue when running query.
Quantity: [Field]/9.2 - 9.2 used as a billing rate
IntQuantity: Int([Quantity])
Whole Quantity: [quantity]-[intquantity]
If I remove the /9.2 the calculation is correct.
When using the /9.2 it gives the wrong answer in some cases as shown below.
Ex.
Quantity = 6 (55.2/9.2)
IntQuantity = 6
Whole Quantity = 8.88178419700125E-16 (This should be 0)
I think the question and examples are ample to explain the issue but please let me know if you need more detail.
Quantity: [Field]/9.2 - 9.2 used as a billing rate
IntQuantity: Int([Quantity])
Whole Quantity: [quantity]-[intquantity]
If I remove the /9.2 the calculation is correct.
When using the /9.2 it gives the wrong answer in some cases as shown below.
Ex.
Quantity = 6 (55.2/9.2)
IntQuantity = 6
Whole Quantity = 8.88178419700125E-16 (This should be 0)
I think the question and examples are ample to explain the issue but please let me know if you need more detail.