Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform() bug
Message
From
16/11/1998 19:24:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Transform() bug
Miscellaneous
Thread ID:
00158067
Message ID:
00158067
Views:
57
Run this code in VFP6.0!

What's up with this behavior?
Does Microsoft know about this?

**-- TRANSFORM() bug???
SET DECIMAL TO 6
x=8705014.002708
? TRANSFORM(x)
* Yields 8705014.002707999
? TRANSFORM(x, '9999999.999999')
* Yields 8705014.002708
SET DECIMAL TO 9
? TRANSFORM(x)
* Yields 8705014.002707999
? TRANSFORM(x, '9999999.999999')
* Yields 8705014.002707

If you change any of the digits around, the result changes, I'm beginning to think that TRANSFORM() is unreliable!
Ric Unruh
RicU@msn.com
Next
Reply
Map
View

Click here to load this message in the networking platform