Re: [webmaster] Documentation Error: Ceiling, Floor

Поиск
Список
Период
Сортировка
От patrick s.
Тема Re: [webmaster] Documentation Error: Ceiling, Floor
Дата
Msg-id 5728C560.2010305@gmx.net
обсуждение исходный текст
Ответ на Re: [webmaster] Documentation Error: Ceiling, Floor  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
Thanks, Tom.

Can confirm this. My error was that examples for "round" are using
positive values and examples of "ceiling"/"floor" are using negative
ones. Maybe misleading on a fast look.

Sorry for wasting your time, guys!

Patrick



On 03.05.2016 17:26, Tom Lane wrote:
> [ trimming 100%-inappropriate crossposts ]
>
>> On May 3, 2016, at 5:00 AM, patrick s. <patrick_gis@gmx.net> wrote:
>>> documentation is misleading:
>>> select ceiling(43.8); =>43
>>> select floor(43.8); =>44
>>>
>>> found in:
>>> http://www.postgresql.org/docs/9.1/static/functions-math.html
>>> http://www.postgresql.org/docs/7.4/static/functions-math.html
> AFAICS, those examples refer to -43.8 not 43.8, and are quite correct.
>
>             regards, tom lane



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

Предыдущее
От: "patrick s."
Дата:
Сообщение: Re: [webmaster] Documentation Error: Ceiling, Floor
Следующее
От: Jürgen Purtz
Дата:
Сообщение: Re: Docbook 5.x