Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal in a text box roundup automatically?
Message
From
10/12/2000 04:11:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00451143
Message ID:
00451320
Views:
25
Yes, I have set it to 999.9, it allowed me to enter 15.8 but then after lost focus, it turned to 16.0.
???

>>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.
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform