Re: monetary bug
От | Dennis Bjorklund |
---|---|
Тема | Re: monetary bug |
Дата | |
Msg-id | Pine.LNX.4.44.0408230644180.9559-100000@zigo.dhs.org обсуждение исходный текст |
Ответ на | Re: monetary bug (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: monetary bug
|
Список | pgsql-hackers |
On Sun, 22 Aug 2004, Peter Eisentraut wrote: > To me, this seems completely wrong-headed. Data types should be defined > by what operations you can do on them, not by what output format they > have. I totally agree, lets get rid of money all together. If not, what makes money so special? Do we want other numeric types like hexnumber, octalnamber, weight, length, ... All of these are different ways to format a number in a user interface. Of course one could imaging a system with units, so that if you multiplty two lengths (meter) you get an area (meter^2) and so on.. But it's just going to be complicated and no other programming language I know of have gone that way. -- /Dennis Björklund
В списке pgsql-hackers по дате отправления: