Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting a decimal in programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00150068
Message ID:
00150463
Views:
26
>Hi
>Yea... the value of this.text is a mirror of your input before formatting takes place. so when you enter 1599 (assuming you set format to 'R' and inputmask to 9999999.99) there are empty spaces at the 2 rightmost positions. as opposed to 15.99, there is a value of 9(or 15.00 will be 0) so that is the time to process that division statement, when you didn't enter a decimal.
>
>later

Ok, I see what you're doing. Clever.

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform