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

From: Sferacarta Software <sferac(at)bo(dot)nettuno(dot)it>
To: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re[2]: [HACKERS] 123.45 - 123 = 0.45
Date: 1998-12-15 15:35:04
Message-ID: 17691.981215@bo.nettuno.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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'-

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-12-15 16:20:15 Re: [HACKERS] 123.45 - 123 = 0.45
Previous Message Vince Vielhaber 1998-12-15 15:34:42 Re: [HACKERS] 123.45 - 123 = 0.45