Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRANSFORM bug ?
Message
From
17/07/2000 09:42:33
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00393170
Message ID:
00393223
Views:
15
Mark,

I was using the TRANSFORM function when I need automatic transformation from numeric to string.

9 --> "9"
9.1 --> "9.1"
9.21 --> "9.21"

etc..

Since I encountered this bug, I solved this problem otherwise.

Walter,

>>Hi all,
>>
>>TRANSFORM(9.2) seems to output 9.199999999999999
>>
>>Can anyone confirm this bug ???
>>
>>Walter,
>
>I get the same as you, but I always pass the second parameter as well. Since I have SET('decimal') valued at 2, I get the correct return value of 9.20 as a character string.
Previous
Reply
Map
View

Click here to load this message in the networking platform