Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform Oddities
Message
From
04/07/2001 09:50:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/07/2001 09:12:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00526657
Message ID:
00526669
Views:
16
If trailing zeros don't matter, use:
alltrim(str(-8.81,20,2)) && for two decimals
>Aaargh... just found a MS KB article about it..
>
>I'm not going to have to Set Compatible On am I?
>
>
>>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!
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform