Re: simple division

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: simple division
Date: 2018-12-05 12:54:41
Message-ID: CAEzk6feuOyukmPiEoWPuxHGaQy+hu+S5tRy9VqugEGUFBoH4JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 5 Dec 2018 at 12:45, Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-12-05 13:32:14 Re: simple division
Previous Message Gavin Flower 2018-12-05 12:45:10 Re: simple division