Subject Anyone using numerics with more than 4 decimal places?
Author Carlos H. Cantu
I faced the situation where I need to have numerics defined with more
than 4 decimal places. The problem is that such fields are handled by
IBO as Float fields, so is subject to the well known precision
problems associated to the float format (what you store is not always
exactly what you get back).

Delphi has a type called TFMTBCD that is supposed to deal with
numerics with more than 4 decimal places as BCD values, to avoid the
problems of the float format. The problem is that IBO is not aware of
TFMTBCD.

Has anyone here able to find out a good solution for this problem?

PS: I mostly use TDataset IBO derived components with persistent
fields.

[]s
Cantu
http://www.firebirdnews.org
FireBase - http://www.FireBase.com.br