Re: math error or rounding problem Money type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Justin <justin(at)emproshunts(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: math error or rounding problem Money type
Date: 2008-06-07 22:26:54
Message-ID: 24505.1212877614@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Justin <justin(at)emproshunts(dot)com> writes:
> I believe i have found a math bug/rounding problem with Money type when
> its used with SUM()... Postgresql 8.3.1

You do know that money only stores two fractional digits?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin 2008-06-07 22:38:54 Re: math error or rounding problem Money type
Previous Message Justin 2008-06-07 22:08:40 math error or rounding problem Money type