Re: Wrong example

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: edigitalb(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Wrong example
Date: 2018-04-27 13:31:05
Message-ID: 20180427133105.GA32454@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, Apr 27, 2018 at 04:55:03AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/7.1/static/functions-math.html
> Description:
>
> The last row of table Table 4-4. Mathematical Functions seems to be wrong at
> example column, current value
>
> trunc(numeric, s integer) numeric truncate to s decimal
> places round(42.4382, 2) 42.43
>
> Possible solution
>
> trunc(numeric, s integer) numeric truncate to s decimal
> places trunc(42.4382, 2) 42.43

Uh, Postgres 7.1 is _decades_ old and will not be fixed. I suggest you
look at the Postgres 10 docs.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Elvis de Freitas 2018-04-27 13:32:40 Re: Wrong example
Previous Message PG Doc comments form 2018-04-27 10:08:12 Appendix A. PostgreSQL Error Codes