123.45 - 123 = 0.45 - Mailing list pgsql-hackers

Hi all,

I tried to divide 123.45 by 123.00 but PostgreSQL gives me a wrong
result:

hygea=> select 123.45 - 123.00;        ?column?
-----------------
0.450000000000003
(1 row)

-Jose'-




pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Backend crash in opr_sanity regression test.
Next
From: Oleg Broytmann
Date:
Subject: Re: [HACKERS] 123.45 - 123 = 0.45