Re: dividing money by money

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: dividing money by money
Дата
Msg-id 4BB1D1B50200002500030204@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: dividing money by money  (John R Pierce <pierce@hogranch.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: dividing money by money
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: UTF-8 encoding failure