On Wed, Mar 7, 2012 at 12:14 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.
In response to
pgsql-novice by date
|Next:||From: Steve Crawford||Date: 2012-03-07 17:19:08|
|Subject: Re: Numeric Data Type Rounding Up|
|Previous:||From: Tom Lane||Date: 2012-03-07 17:14:22|
|Subject: Re: Numeric Data Type Rounding Up |