From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | james(at)vrtx(dot)net (A James Lewis) |
Cc: | hackers(at)postgreSQL(dot)org (PostgreSQL-development) |
Subject: | Re: [HACKERS] Warning!! |
Date: | 1998-11-04 16:15:15 |
Message-ID: | 199811041615.LAA11520@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-11-04 16:50:20 | Re: [COMMITTERS] 'pgsql/src/interfaces/odbc convert.c qresult.c results.c socket.h' |
Previous Message | Thomas G. Lockhart | 1998-11-04 15:35:30 | Re: [HACKERS] latest snapshot crashes backend |