Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Set Decimal Place to 2
Message
From
09/10/1997 23:04:04
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Cannot Set Decimal Place to 2
Miscellaneous
Thread ID:
00053997
Message ID:
00053997
Views:
69
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
Next
Reply
Map
View

Click here to load this message in the networking platform