PL/pgSQL: how to round a number up?

From: Script Head <scripthead(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PL/pgSQL: how to round a number up?
Date: 2005-11-23 21:01:03
Message-ID: 451eb55c0511231301h3d12d55cpd5dca8fd9d1cc4e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bricklen Anderson 2005-11-23 21:04:15 Re: PL/pgSQL: how to round a number up?
Previous Message Tom Lane 2005-11-23 20:55:59 Re: "invalid page header in block 597621 of relation..." error