Re: dividing money by money

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: dividing money by money
Дата
Msg-id 1279362054.17928.5.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: dividing money by money  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: dividing money by money  (Andy Balholm <andy@balholm.com>)
Re: dividing money by money  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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?



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: dividing money by money
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: bg worker: overview