Subject RE: [IBO] Values change after commiting
Author KURSAT TASKIN
thanks, I will try double precision

-----Original Message-----
From: Artur Anjos [mailto:arsoft@...]
Sent: Wednesday, December 05, 2001 11:45 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] Values change after commiting


Jason will tell you something like "Welcome to Floating Point Problems".
There's lot of info about this everywhere, and it's not IBO-Related.
Changing your fields to DOUBLE PRECISION could help a lot, but you should
also consider NUMERIC.

Artur Anjos

----- Original Message -----
From: "KURSAT TASKIN" <kursatt@...>


> Hello,
> 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.




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/