Readin money type into java BigDecimals

From: Lincoln Spiteri <lincoln(dot)spiteri(at)st(dot)com>
To: "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org>
Subject: Readin money type into java BigDecimals
Date: 1998-09-14 10:16:54
Message-ID: 35FCED16.AE8F50F2@st.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I am having trouble creating java BidDecimal objects from data stored in
postgres as money. The problem seems to be due to formating of money
inpostgres (eg $12,000.00) which cannot be parsed by java.

Is there anyway I can change the formating of the money type in
postgres, or should I use a different type to represent money for the
sake of compatability.

Regards

Lincoln Spiteri

STMicroelectronis, Malta

Browse pgsql-general by date

  From Date Subject
Next Message Herouth Maoz 1998-09-14 10:45:56 Re: [GENERAL] Is it possible to drop a column?
Previous Message Lorenzo Huerta 1998-09-13 19:25:54 Re: [GENERAL] Is it possible to drop a column?