Fwd: [CORE] Documentation Error: Ceiling, Floor - Mailing list pgsql-docs

From Josh berkus
Subject Fwd: [CORE] Documentation Error: Ceiling, Floor
Date
Msg-id 5728CE6A.4090204@agliodbs.com
Whole thread Raw
List pgsql-docs


-------- Forwarded Message --------
Subject: [CORE] Documentation Error: Ceiling, Floor
Date: Tue, 3 May 2016 11:00:10 +0200
From: patrick s. <patrick_gis@gmx.net>
To: webmaster@postgresql.org, pgsql-core@postgresql.org

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 (pgsql-core@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-core




pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [webmaster] Documentation Error: Ceiling, Floor
Next
From: "patrick s."
Date:
Subject: Re: [webmaster] Documentation Error: Ceiling, Floor