Re: [HACKERS] 123.45 - 123 = 0.45
| От | Vince Vielhaber |
|---|---|
| Тема | Re: [HACKERS] 123.45 - 123 = 0.45 |
| Дата | |
| Msg-id | Pine.HPP.3.94.981215103228.26010G-100000@cinnamon.michvhf.com обсуждение исходный текст |
| Ответ на | 123.45 - 123 = 0.45 (Sferacarta Software <sferac@bo.nettuno.it>) |
| Список | 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@michvhf.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
entitledto lecture me about bloat than the federal government" -- Tony Snow
==========================================================================
В списке pgsql-hackers по дате отправления: