Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimals in texbox
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01224890
Message ID:
01224892
Vues:
13
>How can I format a text box to contain 2 decimals
>
>After a division operation, it returns 4 decimals

You can use ROUND() functuion to get required # of decimals. For textbox you can specify InputMask = "9999999.99", for example.
? ROUND(7/3,2)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform