Re: I want more Money (the data type, of course! :-))
| От | Dave Cramer |
|---|---|
| Тема | Re: I want more Money (the data type, of course! :-)) |
| Дата | |
| Msg-id | 019b01c0e2f4$3e9da3f0$0401a8c0@INSPIRON обсуждение исходный текст |
| Ответ на | I want more Money (the data type, of course! :-)) (Carlos Moreno <moreno@mochima.com>) |
| Список | pgsql-general |
Carlos, We use int8 and keep everything in pennies. Works for us ;) Dave ----- Original Message ----- From: "Carlos Moreno" <moreno@mochima.com> To: <pgsql-general@postgresql.org> Sent: Saturday, May 19, 2001 10:35 AM Subject: [GENERAL] I want more Money (the data type, of course! :-)) > > No, it's not spam! :-) > > I'm just wondering if there is a data type like Money, but with > a (much much much) higher range -- checking the documentation, > it would look like PG uses an int (32bits) to store the amount > of cents -- but -21 million to +21 million is insufficient for > accounting of a small company... :-( > > Float is out of the question, of course (if it is really stored > as a float or double). > > Any suggestions? > > Thanks, > > Carlos > -- > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >
В списке pgsql-general по дате отправления: