Subject | Problems with floating-point values |
---|---|
Author | Daniel Rail |
Post date | 2001-11-22T18:13:19Z |
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)
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)