Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform Oddities
Message
From
04/07/2001 10:29:08
 
 
To
04/07/2001 09:11:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00526657
Message ID:
00526675
Views:
20
This message has been marked as the solution to the initial question of the thread.
Will,
I use PADR() to convert numerics to character:
?RTRIM(PADR(-8.82, 20))
As an added benefit, PADx() respects the decimals:
?RTRIM(PADR(-8.82345, 20))
HTH
>Hello all,
>
>I have found an irregularity with the transform command and wonder if anyone else can come up with a solution for it.. (I remember something about this in the past but without a BUTM search, I have to ask you nice Putm's)
>
>Try this in the command window..
>
>? Transform(-8.81)
>? Transform(-8.82)
>
>These 2 lines give VERY different results on 2 win 95 machines here
>VFP6 SP4
>
>Also could someone give this a try in VFP7 - maybe it will give me an excuse to upgrade!
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform