Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Set Decimal Place to 2
Message
From
13/10/1997 17:12:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
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:
00054369
Views:
30
>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

Set "inputmask" property to something like 99,999.99 (and "Format" property to Z if don't want to see zero values etc.)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform