Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputMask issue.
Message
De
27/01/2005 15:17:25
 
 
À
27/01/2005 13:13:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00981243
Message ID:
00981431
Vues:
31
Transform is an entirely different issue than an input mask. With your input mask, VFP will not accept keyboard input past the third decimal point.


>
>Craig,
>no ambiguity exists here, only a design choice.
>
>Input data can have 3 decimals, then it's value is round(,3) surely;
>but calculated values can have 4 or more decimals.
>If InputMask is only a passive numeric Mask ( like VFP ) you see the TRUNC value,
>if InputMask is a active numeric Mask, you see a ROUND()
>
>VFPT choice is for passive numeric.
>This is visible in TRANSF()
>
>? TRANSFORM(123.2336,"@R 9999.999")
>SET DECIMALS TO 4
>? TRANSFORM(123.2336,"@R 9999.999")
>SET DECIMALS TO 2
>? TRANSFORM(123.2336,"@R 9999.999")
>
>
>Fabio
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform