Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with decimal places
Message
De
30/06/2004 19:41:06
 
 
À
30/06/2004 17:01:50
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00919377
Message ID:
00919436
Vues:
12
Randy,

Hi. Could you perhaps have not set InputMask to something like "999,999.99"?

HTH
Dennis

>I hope this is an easy one. I have a textbox on a form that is used to display and allow update of a price. The initial value on this textbox is 0.00 and when the user changes values, it keeps the 2 decimal places. In some cases, the user can select something else on that form and it will change the contents of the price textbox. When this happens, the value changes to 0 without the decimal places and the user can no longer add a decimal in that field - it tabs to the next one when they try.
>
>I tried using SET FIXED ON, but that changes the decimal places on other fields on that form such as quantity. Is there any easy way to force the values in that textbox to stay with two decimal places? I tried debugging to find out where it changes, but it is several forms deep and I am having a very difficult time with the debugger when moving that deep.
>
>Thanks,
>
>Randy Wessels
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform