Re: numeric rounding - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: numeric rounding
Date
Msg-id 20030929153403.GC21235@dcc.uchile.cl
Whole thread Raw
In response to numeric rounding  (Gezeala 'Eyah' "Bacuño" II <gezeala25@yahoo.com>)
List pgsql-general
On Mon, Sep 29, 2003 at 12:47:05AM -0700, Gezeala 'Eyah' Bacuño II wrote:

> my problem is my function just won't round some numbers properly..
> what i want it to do is like this.
>
> example:
>
> 721.875 = 721.88

a=> select round(721.875, 2);
 round
--------
 721.88
(1 row)

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La primera ley de las demostraciones en vivo es: no trate de usar el sistema.
Escriba un guión que no toque nada para no causar daños." (Jakob Nielsen)

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: downloading latest source from cvs
Next
From: Richard Huxton
Date:
Subject: Re: Edward