Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform() returning unexpected value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01278000
Message ID:
01278005
Vues:
21
I believe that TRANSFORM() is affected by SET DECIMALS. You probably have it a 2 (the default) and that is all it will recognize for the numeric arguement.

>Dear all,
>
>I have a question about the Transform function:
>
>transform(0.001,'9.999') returns '0.000'
>
>
>which I expect it to return '0.001'.
>
>Any idea of where does it go wrong? I am using VFP9 SP2.
>
>Thanks,
>David
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform