Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Set Decimal Place to 2
Message
De
13/10/1997 17:12:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/10/1997 23:04:04
Juan Kh
Dataprop Technologies
Sungai Petani, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00053997
Message ID:
00054369
Vues:
35
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform