>>What's wrong with this (in both VFP6 and VFP7):
>>
>>? TRANSFORM(18.1234567,"99.9999%")
>>
>>it show 18.1200%
>>
>>Should it be 18.1234% ?
>>
>>TIA
>>
>>Jun
>
>TRANSFORM() uses the current setting of SET DECIMALS which, by default, is 2.
>
>If you set SET DECIMALS TO 4, you'll get the info you need.
>
>It's quirks like that in TRANSFORM() that encourage me to use the STR() function as these environmental issues don't have an impact.
>
> Jay
Thanks Jay!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only