Re[2]: [HACKERS] 123.45 - 123 = 0.45 - Mailing list pgsql-hackers

From Sferacarta Software
Subject Re[2]: [HACKERS] 123.45 - 123 = 0.45
Date
Msg-id 17691.981215@bo.nettuno.it
Whole thread Raw
In response to Re: [HACKERS] 123.45 - 123 = 0.45  (Oleg Broytmann <phd@sun.med.ru>)
List 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'-




pgsql-hackers by date:

Previous
From: David Hartwig
Date:
Subject: Re: [HACKERS] 123.45 - 123 = 0.45
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 123.45 - 123 = 0.45