BUG #3230: Division problem

Поиск
Список
Период
Сортировка
От Jeferson Kasper
Тема BUG #3230: Division problem
Дата
Msg-id 200704161233.l3GCXCrx087518@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #3230: Division problem
Re: BUG #3230: Division problem
Список 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 по дате отправления: