123.45 - 123 = 0.45

From: Sferacarta Software <sferac(at)bo(dot)nettuno(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: 123.45 - 123 = 0.45
Date: 1998-12-15 12:41:26
Message-ID: 1570.981215@bo.nettuno.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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'-

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Broytmann 1998-12-15 13:08:48 Re: [HACKERS] 123.45 - 123 = 0.45
Previous Message David Martinez Cuevas 1998-12-15 02:24:24 Re: [SQL] MINUS and slow 'not in'