Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputMask issue.
Message
De
27/01/2005 12:19:13
 
 
À
27/01/2005 11:45:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00981243
Message ID:
00981264
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform