Re: monetary data

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: monetary data
Дата
Msg-id 42A89CA1.2050806@commandprompt.com
обсуждение исходный текст
Ответ на monetary data  (John Browne <jkbrowne@gmail.com>)
Список pgsql-general
John Browne wrote:
> I was just curious how you guys implement storage / calculation of
> monetary data in postgresql.  The docs say to use the numeric data
> type, but I'm curious what precision is typically defined for storing
> monetary data in the numeric data type.
>

We use numeric(10,2)

Sincerely,

Joshua D. Drake


> Thanks for any info...
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org


--
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

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

Предыдущее
От: John Browne
Дата:
Сообщение: monetary data
Следующее
От: Matt Miller
Дата:
Сообщение: ERROR: cannot cast type text to bit varying