Re: simple division - Mailing list pgsql-general

From Geoff Winkless
Subject Re: simple division
Date
Msg-id CAEzk6feuOyukmPiEoWPuxHGaQy+hu+S5tRy9VqugEGUFBoH4JQ@mail.gmail.com
Whole thread Raw
In response to Re: simple division  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Responses Re: simple division  (Raymond Brinzer <ray.brinzer@gmail.com>)
List pgsql-general
On Wed, 5 Dec 2018 at 12:45, Gavin Flower <GavinFlower@archidevsys.co.nz> wrote:
> If you divide one integer by another, then it is logical to get an
> integer as as the answer.

Hmm. It might fit with what a computer scientist might expect (or
rather, not be surprised about), but I don't think you can say that
it's "logical".

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.

Geoff


pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: simple division
Next
From: Adrian Klaver
Date:
Subject: Re: simple division