Re: dividing money by money

Поиск
Список
Период
Сортировка
От Andy Balholm
Тема Re: dividing money by money
Дата
Msg-id E96D6D38-4D6A-4B19-892B-0E0FFF555D17@balholm.com
обсуждение исходный текст
Ответ на Re: dividing money by money  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: dividing money by money  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-bugs
> That's hardly an improvement if you're concerned about lack of
> exactness.

I know; I lose a couple of digits by using float8 instead of numeric, but i=
t's much simpler and faster, and if it returned numeric people would _think=
_ it was exact.

And if we have a cast to numeric, people who want those extra digits can ca=
st to numeric before dividing.

But I do still have the numeric code that I tried, so if that's how people =
want to do it, I can provide it.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: dividing money by money
Следующее
От: Takahiro Itagaki
Дата:
Сообщение: Re: BUG #5398: psql gives syntax error on .sql files with UTF-8 BOM