Hi All
I'm new here, but fairly well versed in Access. I have a quick question that is driving me nuts. Here's how you can reproduce the problem.
Create a table (Table1) with one field (num - Double)
Enter in the following data...
0.4
0.3
0.2
0.1
Now, go to the immediate window and enter ?DSum("num","Table1")
Answer is 1, all is well
Now, type in ?DSum("num","Table1") = 1
Answer is False.... wha????
?DSum("num","Table1") = "1" - True
?DSum("num","Table1") > 0.999999999999999 - True
?DSum("num","Table1") > 0.9999999999999999 - False
How is this possible? What am I missing?
I'm new here, but fairly well versed in Access. I have a quick question that is driving me nuts. Here's how you can reproduce the problem.
Create a table (Table1) with one field (num - Double)
Enter in the following data...
0.4
0.3
0.2
0.1
Now, go to the immediate window and enter ?DSum("num","Table1")
Answer is 1, all is well
Now, type in ?DSum("num","Table1") = 1
Answer is False.... wha????
?DSum("num","Table1") = "1" - True
?DSum("num","Table1") > 0.999999999999999 - True
?DSum("num","Table1") > 0.9999999999999999 - False
How is this possible? What am I missing?