Subject | Values change after commiting |
---|---|
Author | KURSAT TASKIN |
Post date | 2001-12-05T07:43:18Z |
Hello,
I am using Firebird, Delphi 6, and IBDatabase, IBTRansaction, IBDataset. in
my table I have 2 fields name field1, field2 which are defined as Float.
Using DBEdit, I am inserting data to the table, however, before commiting
the transaction, field1.value is 0.20, and field2.value 1000000000, after
commiting the data field1.value becomes 0.020000022523525 like this, and
field2.value 1000000253 someting like this,
where is the problem, I do not know, I enter a value but it changes after
committing.
Thanks
I am using Firebird, Delphi 6, and IBDatabase, IBTRansaction, IBDataset. in
my table I have 2 fields name field1, field2 which are defined as Float.
Using DBEdit, I am inserting data to the table, however, before commiting
the transaction, field1.value is 0.20, and field2.value 1000000000, after
commiting the data field1.value becomes 0.020000022523525 like this, and
field2.value 1000000253 someting like this,
where is the problem, I do not know, I enter a value but it changes after
committing.
Thanks