Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform() ?
Message
De
07/12/2001 14:01:31
 
 
À
07/12/2001 13:47:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00591318
Message ID:
00591351
Vues:
27
>>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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform