Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform error
Message
 
 
To
23/10/2001 14:54:42
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00572138
Message ID:
00572232
Views:
22
>I did a SET DECIMALS TO 2, that was not the problem. The transform error seems to occur only in a compiled .exe, not from the command window. I did another test:
>
>transform(9999999.99,"999999999.99") returns "9999999.99" as expected.
>transform(10000000.01,"999999999.99") return "10000000.00" - not expected.
>
>Go figure (literally)!

I've just created a test project with only one test program included with the following lines:
?transform(9999999.99,"999999999.99") &&returns "9999999.99" as expected.
?transform(10000000.01,"999999999.99")

Both returned correct results...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform