round() function wrong?

Поиск
Список
Период
Сортировка
От Jochen Westland [invigo]
Тема round() function wrong?
Дата
Msg-id 01C39892.35DF4E20.jochen.westland@invigo.de
обсуждение исходный текст
Ответы Re: round() function wrong?  ("scott.marlowe" <scott.marlowe@ihs.com>)
Re: round() function wrong?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Hi All,
i'm running Postgresql 2.2x, so i am not quitse sure wether the bug i am reporting is already fixed
in newer versions or not.

In my version 
select round(2.5); returns 2;
select round(2.5000001) returns 3;

refering to my math professor thats wrong, at least in germany.
select round(2.5); should return 3

regards


jochen



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

Предыдущее
От: Lauri Pietarinen
Дата:
Сообщение: Re: Dreaming About Redesigning SQL
Следующее
От: Jean-Henry Berevoescu
Дата:
Сообщение: Re: Complex/elaborate user-defined base types