Subject Re: [IBO] Problems with floating-point values
Author Jason Wharton
Welcome to floating point woes.
It would help if you told us how you defined your column in the database.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Daniel Rail" <drail@...>
To: "IBObjects" <IBObjects@yahoogroups.com>
Sent: Thursday, November 22, 2001 11:13 AM
Subject: [IBO] Problems with floating-point values


> Hi,
>
> I'm having some problems with floating-point values. There are certain
> values that I enter, they are changed afterwards(i.e I enter 1.4 and when
I
> exit the edit box the value is changed to 1.39999997615814). I was using
> the TwwDBSpinEdit from Infopower, then I replaced it by TwwDBEdit, and
> finally replaced it by TDBEdit, with no success.
>
> Anybody have an idea on how to fix this? This was working a few versions
> back of IBO 4. Don't ask me which one, I just noticed it while debugging
> another problem in my application.
>
> Thanks in advance.
>
>
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca)
> ACCRA Med Software Inc. (www.filopto.com)