Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimals in texbox
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01224890
Message ID:
01224892
Views:
18
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform