Re: dividing money by money

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>, Andy Balholm <andy@balholm.com>, pgsql-hackers@postgresql.org
Date: 2010-07-17T10:20:54Z
Lists: pgsql-hackers
On fre, 2010-07-16 at 10:31 -0400, Tom Lane wrote:
> The other argument that I found convincing was that if the
> operator was defined to yield numeric, people might think that
> the result was exact ... which of course it won't be, either way.
> Choosing float8 helps to remind the user it's an approximate quotient.

Why is it approximate?  Aren't money values really integers?