Hi,
I have columns in SQL server defined as numeric(15,6).
However in my program (written in Delphi 5), I cannot insert the exact values in these columns because none of the field types (tfloatfield,tcurrencyfield) can support representing 6 decimal digits exactly.
If I use tfloatfield , then when I enter for example 34.536 in the grid then this value is hold in the tfloatfield as 34.535999.
If I use tcurrencyfield, then 34.536 is hold as 34.536 but I cannot enter 34.536789 because tcurrencyfield supports only 4 decimal digits.
What do you suggest to solve this problem?
Thanks in advance
Caglar Okat