Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimal in a text box roundup automatically?
Message
 
 
À
09/12/2000 09:05:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00451143
Message ID:
00451145
Vues:
18
>I have a text box which ControlSource = a numeric field of a table with 1 decimal place. but when I run the form and enter some number with 1 decimal place like 15.8, after the text box is lost focus, its value will change to 16.0 automatically. I have tried to use Set Decimals to 1 in the form's init but still not work. Anyone knows how to turn off this automatically roundup?

Chage the InputMask property of the textbox to include a decimal point.

Ex. 99999.9

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform