Re: [HACKERS] 123.45 - 123 = 0.45

Поиск
Список
Период
Сортировка
От Oleg Broytmann
Тема Re: [HACKERS] 123.45 - 123 = 0.45
Дата
Msg-id Pine.SOL2.3.96.SK.981215160735.25091W-100000@sun.med.ru
обсуждение исходный текст
Ответ на 123.45 - 123 = 0.45  (Sferacarta Software <sferac@bo.nettuno.it>)
Список pgsql-hackers
Hello!

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)
  I cannot understand anything. You said "to divide" and then "123.45 - 123.00".
Are you trying to divide or to substract?

Oleg.
----    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/          Programmers don't die, they
justGOSUB without RETURN.
 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Sferacarta Software
Дата:
Сообщение: 123.45 - 123 = 0.45
Следующее
От: Sferacarta Software
Дата:
Сообщение: Re[2]: [HACKERS] JOIN syntax. Examples?