Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InputMask issue.
Message
From
27/01/2005 12:19:13
 
 
To
27/01/2005 11:45:52
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00981243
Message ID:
00981264
Views:
25
I'm not sure what you're asking as you stated that the output you got was expected and preferred.

The input mask does nothing to round. It states that you can input data that looks like what the mask defines. In your case, the mask says you can enter three digits to the left of the decimal point. It won't allow the fourth to even be entered. How could VFP even know about the fourth digit to round up?

>It would appeal to to me to have some opinions on this issue:
>
>With this:
>

>InputMask = '99.999'
>Value = 123.1236
>

>
>Expected output:
>123.123 or 123.124
>
>Preferred output:
>123.123 or 123.124
>
>Observed VFP:
>123.123
>
>This force me to use ROUND() in very many controls.
>
>Thanks
>Fabio
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform