Re: [HACKERS] Warning!! - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Warning!!
Date
Msg-id 199811041615.LAA11520@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Warning!!  (A James Lewis <james@vrtx.net>)
List 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: A James Lewis
Date:
Subject: Re: [HACKERS] Warning!!
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] latest snapshot crashes backend