123.45 - 123 = 0.45 - Mailing list pgsql-hackers

From Sferacarta Software
Subject 123.45 - 123 = 0.45
Date
Msg-id 1570.981215@bo.nettuno.it
Whole thread Raw
Responses Re: [HACKERS] 123.45 - 123 = 0.45  (Oleg Broytmann <phd@sun.med.ru>)
Re: [HACKERS] 123.45 - 123 = 0.45  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] 123.45 - 123 = 0.45  (Vince Vielhaber <vev@michvhf.com>)
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