Subject Re: [IBO] re: is 0.208 some magic value ?
Author Jason Wharton
There must be a bug in the code just for Delphi 3.
Please debug the IBO code for me please if you can and I will add this to my
list of things to look into.

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


----- Original Message -----
From: "Duilio Foschi" <dedalus@...>
To: <ibobjects@yahoogroups.com>
Sent: Friday, April 05, 2002 2:31 AM
Subject: [IBO] re: is 0.208 some magic value ?


> --- In IBObjects@y..., "Helen Borrie (TeamIBO)" <helebor@t...> wrote:
>
> >0 is not an exact value for a numeric(9,3); 0.000 is.
>
> Helen,
>
> If I write 0.000 , 11 , 1.1 , 1.0 or any other number, I always get ...
0.208.
>
> If I replace the TIBOQuery with a TIBOTable, I get the same results.
>
> If I update the field from SQL, ev works ok.
>
> If I change the field format into numeric(9), ev works ok.
>
> If I change the field format into numeric(9,1), I always get ... 0.2 !
>
> If I change the field format into numeric(9,5), ev works ok !
>
> If I go back to the numeric(9,3) field format, I get ... 0.208 !
>
> Can you explain this mystery ?
>
> TIA
>
> Duilio