The information in this article applies to:
SYMPTOMS
When you compare two numbers for equality, you might receive an erroneous
result when the resulting numbers are very large.
RESOLUTIONUse the ROUND() function when checking the equality of very large floating- point numbers. For example, the following line of code produces the correct result:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce BehaviorType the following commands in the Command window:
Notice that the first calculation, using the variable i, evaluates as false
while the calculation using the integer evaluates true.
Additional query words: kbVFp500bug kbVFp500abug kbVFp600bug kbXBase
Keywords : |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |