Rounding strategy

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Rounding strategy
Дата
Msg-id 161881920775.685.12293798764864559341@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Rounding strategy  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/functions-math.html
Description:

The 'round' mathematical function documentation doesn't specify its rounding
strategy. If this would be documented then users can rely on its rounding
behavior. For double precision the rounding probably depends on your
platform. For numeric the function seems to round to nearest with ties going
away from zero (sometimes referred to as "round half up). 6.5 -> 7.0 and
-6.5 -> -7.0.

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Typo in DATATYPE-JSONPATH
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Rounding strategy