Subject: Fwd: [CORE] Documentation Error: Ceiling, Floor

From: Josh berkus <[email-masked]>
Date: Tue, 3 May 2016 09:14:34 -0700

-------- Forwarded Message --------
Subject: [CORE] Documentation Error: Ceiling, Floor
Date: Tue, 3 May 2016 11:00:10 +0200
From: patrick s. <[email-masked]>
To: [email-masked], [email-masked]

Dear PostgreSQL developers and webmasters

It appears that the documentation of the mathematical functions
"ceiling" and "floor" are wrong (inverted).

result is correct and as one would expect::
select ceiling(43.8); =>44
select floor(43.8);  =>43

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

Cheers,
Patrick

-- 
Sent via pgsql-core mailing list ([email-masked])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-core

-- 
Sent via pgsql-docs mailing list ([email-masked])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs