Re: simple division

Поиск
Список
Период
Сортировка
От Raymond Brinzer
Тема Re: simple division
Дата
Msg-id CANasJHk9dS3yFQqVyKf+13StfbD4GWsypoGp_kaM+Y9_jbGXPw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: simple division  (Geoff Winkless <pgsqladmin@geoff.dj>)
Список pgsql-general


On Wed, Dec 5, 2018 at 7:55 AM Geoff Winkless <pgsqladmin@geoff.dj> wrote:
Where's the logical progression in step 3 here:

1 You asked the computer a question

2 The values you passed to it don't have decimal points

...

4 Ergo, you wanted an answer that was incorrect.

Well put.  However the nature of the question you asked does not necessarily allow for a correct finite answer.  If I ask for 10/3, for instance, or 1/0.  To play devil's advocate, then:  you should have known that some of the answers would need to be truncated.  This just truncates a little more aggressively.  ;-)

--
Ray Brinzer

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: simple division
Следующее
От: Rob Nikander
Дата:
Сообщение: Re: querying both text and non-text properties