| From: | Josh berkus <josh(at)agliodbs(dot)com> |
|---|---|
| To: | pgsql-docs(at)postgresql(dot)org |
| Subject: | Fwd: [CORE] Documentation Error: Ceiling, Floor |
| Date: | 2016-05-03 16:14:34 |
| Message-ID: | 5728CE6A.4090204@agliodbs.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
-------- Forwarded Message --------
Subject: [CORE] Documentation Error: Ceiling, Floor
Date: Tue, 3 May 2016 11:00:10 +0200
From: patrick s. <patrick_gis(at)gmx(dot)net>
To: webmaster(at)postgresql(dot)org, pgsql-core(at)postgresql(dot)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(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-core
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jürgen Purtz | 2016-05-03 19:19:40 | Re: Docbook 5.x |
| Previous Message | patrick s. | 2016-05-03 15:36:00 | Re: [webmaster] Documentation Error: Ceiling, Floor |