Subject 4.3aa bug(?) with float fields
Author stanw1950
I just upgraded from ibo 4.2ie to 4.3aa (Delphi 7), ran my
application, and started to get exceptions all over the place. The
exception is "0.03299999998211861 is not a valid integer value". The
number changes depending on what field the program is trying to
display. This exception only happens with float fields, which we have
a lot of. The exception seems to be raised in the
TIB_Column.GetDisplayText function in the IB_Components unit at
the "result := FormatFloat(DisplayFormat,AsExtended)" line.

The problem can be easily duplicated by creating a project using the
Employee.gdb in the Borland Shared/Data folder and dropping a
tib_query (select discount from sales) , tib_datasource, and a
tib_grid component on the form, tying them all together.
The "Discount" field in the Sales table is float. Just by opening the
table in the ide you get a "0.100000001490116 is not a valid integer
value" exception.

Thanks in advance for any solution you can provide. In the meantime I
will have to go back to 4.2ie.

Stan Walker