Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Set Decimal Place to 2
Message
 
To
09/10/1997 23:04:04
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00053997
Message ID:
00054540
Views:
32
Hi Juan

The property you want to set is the textbox's InputMask. ie 99.99

>Hello there,
>
>I recently worked on a grid which contains a column with the following ControlSource:
>
>OrdDet.quantity * OrdDet.unitprice * (1-OrdDet.Discount/100)
>
>The problem I am facing is that the value displayed in the textbox of the column is something like this, "12.0000000000", too many zeros!!. Can anyone of us tell me how to make the number appear as "12.00"?
>
>I tried to SET DECIMAL TO 2, SET FIXED ON, put something in the 'Format' property of the column (and also the text box in the column), but nothing seems to work.
>
>Please help!!!!!
>
>Best Regards,
>khjuan
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform