Re: BigDecimal

From: Glenn Holmer <gholmer(at)weycogroup(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: BigDecimal
Date: 2002-02-11 16:28:01
Message-ID: 3C67F111.9000608@weycogroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer wrote:
> Glenn,
>
> The latest driver does appear to implement BigDecimal. There is no
> reason not to use this driver, it is quite independent of the version of
> postgres.

Thanks, it does work nicely with 7.0.

> FWIW I use a long for money and store everything in pennies, this
> alleviates most rounding issues

We just wanted to use the closest type to the way the AS/400 stores
it (EBCDIC packed & zoned decimal fields).

--
____________________________________________________________
Glenn Holmer gholmer(at)weycogroup(dot)com
Programmer/Analyst phone: 414.908.1809
Weyco Group, Inc. fax: 414.908.1601

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2002-02-11 16:32:02 Re: BigDecimal
Previous Message Dave Cramer 2002-02-11 16:20:14 Re: Connection Problem with JDBC