Re: dividing money by money - Mailing list pgsql-bugs

From Kevin Grittner
Subject Re: dividing money by money
Date
Msg-id 4BB1D1B50200002500030204@gw.wicourts.gov
Whole thread Raw
In response to Re: dividing money by money  (John R Pierce <pierce@hogranch.com>)
List pgsql-bugs
John R Pierce <pierce@hogranch.com> wrote:
> Boszormenyi Zoltan wrote:

>> But then any operator between two money values would
>> only work if both values have the same currency.

That sounds like a sane limitation.

> and, are there still any currenccies like old style UK where
> the subunits aren't 100ths?   schillings or whatever

I'm not sure if you're arguing for or against the database type
knowing how to divide those to get a percentage, versus putting the
onus on the application programmer.  Where does it make the most
sense to you to put such logic?

-Kevin

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: dividing money by money
Next
From: "Hiroshi Saito"
Date:
Subject: Re: UTF-8 encoding failure