From: | Vince Vielhaber <vev(at)michvhf(dot)com> |
---|---|
To: | Sferacarta Software <sferac(at)bo(dot)nettuno(dot)it> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] 123.45 - 123 = 0.45 |
Date: | 1998-12-15 15:34:42 |
Message-ID: | Pine.HPP.3.94.981215103228.26010G-100000@cinnamon.michvhf.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 15 Dec 1998, Sferacarta Software wrote:
> 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)
Are you trying to subtract or divide? Your select is subtraction,
your question was division.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Searchable Campground Listings http://www.camping-usa.com
"There is no outfit less entitled to lecture me about bloat
than the federal government" -- Tony Snow
==========================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Sferacarta Software | 1998-12-15 15:35:04 | Re[2]: [HACKERS] 123.45 - 123 = 0.45 |
Previous Message | David Hartwig | 1998-12-15 15:18:21 | Re: [HACKERS] 123.45 - 123 = 0.45 |