swaybright
Technical User
Hi All,
I have a rather frustrating problem... I hope someone can provide some insight.
I have a complex equation that of which one part is simple multiplication: 15.8 * 5.1
This should equal 80.58 Right?
But Access VBA returns the value: 80.5799984931946
While I know this will round to the correct value, it is important that Access returns the real value.
This is only one example of this recurring problem which becomes critical when it occurs within an equation that should reduce to zero.
Does anyone know why this happens. And how do I correct it?
Thanks for any suggestions!
Shane
I have a rather frustrating problem... I hope someone can provide some insight.
I have a complex equation that of which one part is simple multiplication: 15.8 * 5.1
This should equal 80.58 Right?
But Access VBA returns the value: 80.5799984931946
While I know this will round to the correct value, it is important that Access returns the real value.
This is only one example of this recurring problem which becomes critical when it occurs within an equation that should reduce to zero.
Does anyone know why this happens. And how do I correct it?
Thanks for any suggestions!
Shane