PL/pgSQL: how to round a number up?

Поиск
Список
Период
Сортировка
От Script Head
Тема PL/pgSQL: how to round a number up?
Дата
Msg-id 451eb55c0511231301h3d12d55cpd5dca8fd9d1cc4e@mail.gmail.com
обсуждение исходный текст
Ответы Re: PL/pgSQL: how to round a number up?  (Bricklen Anderson <BAnderson@PresiNET.com>)
Список pgsql-general
In PL/pgSQL the round() function seem to round a number down all the time. Is there something like ceil() that would round it up?

ScriptHead

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "invalid page header in block 597621 of relation..." error
Следующее
От: Bricklen Anderson
Дата:
Сообщение: Re: PL/pgSQL: how to round a number up?