Re[2]: [HACKERS] 123.45 - 123 = 0.45

jose' soares <sferac@bo.nettuno.it>

From: Sferacarta Software <sferac@bo.nettuno.it>
To: Oleg Broytmann <phd@sun.med.ru>
Cc: pgsql-hackers@postgresql.org
Date: 1998-12-15T15:35:04Z
Lists: pgsql-hackers
Hello Oleg,

martedì, 15 dicembre 98, you wrote:

OB> Hello!

OB> On Tue, 15 Dec 1998, Sferacarta Software wrote:
>> 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)

OB>    I cannot understand anything. You said "to divide" and then "123.45 - 123.00".
OB> Are you trying to divide or to substract?

Sorry I want to say subtract.

-Jose'-