C
Craig Dovey
I have a form where I have set the AfterUpdate property of two fields (QTY
(Double Number) and RATE (Currency)) to multiply the two numbers and round
to two decimal places and return the value to field AMOUNT
AMOUNT = Round ([QTY] * [RATE] , 2)
This works fine except for the majority of the time that the returned value
is exactly 0.005 or 0.015 etc. it will round the number down rather than up
For example when QTY is 1.19 and RATE is 2817.5 it will return 3352.82
rather than 3352.83
Any ideas?
(Double Number) and RATE (Currency)) to multiply the two numbers and round
to two decimal places and return the value to field AMOUNT
AMOUNT = Round ([QTY] * [RATE] , 2)
This works fine except for the majority of the time that the returned value
is exactly 0.005 or 0.015 etc. it will round the number down rather than up
For example when QTY is 1.19 and RATE is 2817.5 it will return 3352.82
rather than 3352.83
Any ideas?