BUG #3230: Division problem - Mailing list pgsql-bugs

From Jeferson Kasper
Subject BUG #3230: Division problem
Date
Msg-id 200704161233.l3GCXCrx087518@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3230: Division problem
Re: BUG #3230: Division problem
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3230
Logged by:          Jeferson Kasper
Email address:      jefersonkasper@gmail.com
PostgreSQL version: 8.1.5
Operating system:   Linux RedHat 9
Description:        Division problem
Details:

i was trying to divide a number and the result is always wrong, and i tried
to calculate in psql this query:

select (30/50);

and the result was zero ( 0 ), and it have to be 0.6...
i dont know what i have done wrong... but, i think its a bug.
thanks for all.

Jeferson Kasper

pgsql-bugs by date:

Previous
From: "Amorn Buchheit"
Date:
Subject: BUG #3231: Duplicate rows primary key bug
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: BUG #3229: Incorrect temp table work