Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object values and decimals
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00313640
Message ID:
00313648
Vues:
23
Are these currency type? These default to 4 characters, although I've never had any trouble formatting them on a form. Are your text boxes bound to fields? Variables? Form properties?

As a simple fix, try rounding the values to 2 decimals as part of your calculations.

HTH
Barbara

>My form has objects containing numeric values and are used for simple math calculations (mostly addition - eg: invoice total + sales tax = grandtotal). Some of the values are holding 4 decimal places even though I have Set Deci to 2 and set fixed on. The format and input mask is '9,999.99'.
>Any ideas on how to solve this problem
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform