Wrong example

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: edigitalb(at)gmail(dot)com
Subject: Wrong example
Date: 2018-04-27 04:55:03
Message-ID: 152480490305.19807.16598844579387497315@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-04-27 10:08:12 Appendix A. PostgreSQL Error Codes
Previous Message Thomas Munro 2018-04-26 23:56:07 Re: MacPorts xsltproc is very slow?