DBEdit: formatting data
Posted on 1998-08-26
I have several DBEdit controls which display data from an underlying Access table. The problem is that the DBEdit truncates the decimal places, which I MUST have 2 of.
20.00 becomes 20
20.50 becomes 20.5
It is essential that I have the decimal placesbut cannot use the currency type. In Access, the fields are set to Double, Standard, 2 decimal places.
Delphi help mentions masks with reference to the DBEdit, but I cannot see how to do this.