Re: 'currency' question; precision/decimal meaing

From: Igor Roboul <igor(at)raduga(dot)dyndns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 'currency' question; precision/decimal meaing
Date: 2000-11-11 10:38:16
Message-ID: 20001111133816.F4773@linux.rainbow
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 10, 2000 at 01:13:23PM -0500, Will Fitzgerald wrote:
> I want to store prices in a table. What's the best way to do this (since
> 'money' is deprecated)?
I use integer type, and assume that last two digits are cents (really
kopeiki :-) )

--
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga",
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Doucleff 2000-11-12 01:29:31 Query error corrected after vacuum
Previous Message Tom Lane 2000-11-11 06:54:45 Re: What does this mean? "NOTICE: AbortTransaction and not in in-progress state"