Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRANSFORM and SET DECIMALS
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
TRANSFORM and SET DECIMALS
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01214075
Message ID:
01214075
Views:
45
So does anyone know why MS made the TRANSFORM function respect the SET DECIMALS setting? If I have a field that is N(12,5) and it contains 0.11111 and I transform with:
? TRANSFORM(FldName, "999,999.99999")
I get 0.11000 if SET DECIMALS is 2, but 0.11111 if SET DECIMALS is 5.

Seems kind of odd to me.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Next
Reply
Map
View

Click here to load this message in the networking platform