Re: [HACKERS] Warning!!

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: james@vrtx.net (A James Lewis)
Cc: hackers@postgreSQL.org (PostgreSQL-development)
Date: 1998-11-04T16:15:15Z
Lists: pgsql-hackers
> On Wed, 4 Nov 1998, Bruce Momjian wrote:
> 
> > > > I'm very new to this list, and I have to first say that 6.4beta5 fixes
> > > > every problem I had encountered with 6.3.2 (A small list..)
> > > > Just now I saw and posted this...
> > > > If the pence is 0-4 it rounds down... surely that's a rounding bug 
> > > > because it should be looking at the next significant figure?
> > > 
> > > tgl=> select cash_mul_flt8('$123.77', '1');
> > > cash_mul_flt8
> > > -------------
> > > $123.77
> > > (1 row)
> 
> It only happens here for some figues, not all....  mostly xx.x[1234]

I used your exact example, and it worked here.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026