agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: tjo@acm.org
Cc: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL error: function round(double precision, integer) does
Date: Mon, 28 Feb 2005 16:54:28 -0500
Message-ID: <873.1109627668@sss.pgh.pa.us> (raw)
In-Reply-To: <422350F6.1050106@acm.org>
References: <4222570F.5080901@acm.org>
<20050228163309.GA105@winnie.fuhr.org>
<422350F6.1050106@acm.org>
"TJ O'Donnell" <tjo@acm.org> writes:
> Is there some fundamental reason for round(dp) but round(numeric,int)?
I think the main argument against supporting round(dp,int) is that the
result would be inherently inexact (at least for int>0).
regards, tom lane
view thread (16+ messages) latest in thread
Message-ID: <873.1109627668@sss.pgh.pa.us>
Permalink: ../873.1109627668@sss.pgh.pa.us/
Also on: postgresql.org/message-id/873.1109627668@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, tjo@acm.org, mike@fuhr.org
Subject: Re: SQL error: function round(double precision, integer) does
In-Reply-To: <873.1109627668@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox