Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRANFORM() Behavior ... changed from SP1 ???
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00616533
Message ID:
00616761
Views:
39
>I get it! :0) I just wish that the documentation would match the actual way the function behaves because it can make troubleshooting quite tricky at times! :0)

Tracy,

This is the code from the KB article I mentioned earlier. Note, that changing the setting of SET DECIMALS does actually impact the results. Note also, that the output statement no longer applies
CLEAR
cCompatible = SET("COMPATIBLE")
SET COMPATIBLE OFF
? "Precision automatically jumps to 15 decimal places "
? "with overflows displayed at 1.6"

FOR i = 1 TO 3 STEP .1
	? TRANSFORM(i)
ENDFOR
SET COMPATIBLE &cCompatible
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform