Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why to set decimals?
Message
 
À
14/02/2001 05:32:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00475552
Message ID:
00475741
Vues:
43
>
>*-- Method value_assign
>LPARAMETERS vNewVal
>IF VARTYPE(m.vNewVal) = "N"
>	*-- force VFP to correctly display the number of decimals specified in the inputmask
>	THIS.VALUE = m.vNewVal * 1.0000000000000000000
>ELSE
>	THIS.VALUE = m.vNewVal
>ENDIF
>
Daniel,
Thanks for the work around. Its nice to know that it's not some secret bug or gros mis-understanding on my part regarding inputmask and format properties. Now what to do - should I just SET DECIMALS to a higher precision or apply the masking technique in your work-around?
Thanks
Terry
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform