Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round() Bug
Message
From
04/01/2001 17:15:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00459503
Message ID:
00459582
Views:
23
>TRANSFORM function in turn has a bug.
>According to KB Article Q247494 "You might see that the results of the TRANSFORM() function appear off by approximately .0000000000001. This behavior may occur when COMPATIBLE is OFF."

Nice catch, Sergey. That would be something else to watch out for.

FWIW, working with the code in Q247494, if you use ALLTRIM(STR(i,17,15)) instead of TRANSFORM(i) the problem shows up even if SET COMPATIBLE is ON.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Reply
Map
View

Click here to load this message in the networking platform