Re: Numeric Data Type Rounding Up - Mailing list pgsql-novice

From Carlos Mennens
Subject Re: Numeric Data Type Rounding Up
Date
Msg-id CAAQLLO7as3z=hxcdfCi59WdnouG=PvcbniPmUfMrDpbMNKDajQ@mail.gmail.com
Whole thread Raw
In response to Re: Numeric Data Type Rounding Up  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
On Wed, Mar 7, 2012 at 12:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Well, you told it to: (5,0) says five digits before the decimal point
> and none after.  Perhaps numeric(5,2) is what you were after.

I can't believe I missed that. I feel really dumb not realizing that.

Thank you.

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Numeric Data Type Rounding Up
Next
From: Steve Crawford
Date:
Subject: Re: Numeric Data Type Rounding Up