Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRANSFORM() depends on SET DECIMAL. Bug?
Message
From
21/07/2004 12:39:17
 
 
To
21/07/2004 11:36:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00926580
Message ID:
00926621
Views:
15

Is this Visual FoxPro bug ?


Yes.
CLEAR
SET deci to 2
SET FIXED OFF
X=1.12545
? X,TRANSFORM(x),TRANSFORM(M.X,'@R 999999.99999'),CAST(x as c(10))
* Expected 1.12545 1.12545 1.12545 1.12545
SET FIXED ON
y=1.12545
? y,TRANSFORM(y),TRANSFORM(M.Y,'@R 999999.99999'),CAST(y as c(10))
* Expected 1.13 1.13 1.12545 1.12545
Previous
Reply
Map
View

Click here to load this message in the networking platform