The information in this article applies to:
SYMPTOMSYou might see that the results of the TRANSFORM() function appear off by approximately .0000000000001. This behavior may occur when COMPATIBLE is OFF. However, when COMPATIBLE is ON, the expected behavior is observed. RESOLUTIONWorkaroundHere are three ways to work around this behavior:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe TRANSFORM function was modified to allow the developer to issue Transform(<nExpr>) without a format or picture clause. The result is similar to ALLTRIM(STR(<nExpr>, <nLength>, <nDecimalPlaces>)). How to Reproduce the BehaviorEnter the following code in a program and run the program:
The values should begin to miscalculate around the number 1.6.
Additional query words: TRANSFORM, ALLTRIM, STR, BUG,PRECISION,OVERFLOW
Keywords : kbVFp600 kbVFp600bug kbXBase kbGrpFox kbDSupport kbCodeSnippet |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |