Jason Sweby
asked on
DBEdit: formatting data
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.
For example,
20.00 becomes 20
and
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.
For example,
20.00 becomes 20
and
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER