Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputMask issue.
Message
From
27/01/2005 15:17:25
 
 
To
27/01/2005 13:13:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00981243
Message ID:
00981431
Views:
28
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
Previous
Reply
Map
View

Click here to load this message in the networking platform