]> granicus.if.org Git - postgresql/commit
There are errors in the PGmoney class in the conversion routines over
authorBruce Momjian <bruce@momjian.us>
Sun, 14 Mar 1999 05:12:45 +0000 (05:12 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 14 Mar 1999 05:12:45 +0000 (05:12 +0000)
commitfd80c102fa9f265b9ba5f24f0f0b2bd7c934991b
treeb91e9b265ccafff4ef28ecdc048efd3ae7f0b371
parent817a3e6d394227f715e55ec7e71ee737e9bdb9aa
There are errors in the PGmoney class in the conversion routines over
the handling of negative numbers and commas. The attached path attempts
to fix these.
However the getValue method does not yet insert commas into the
generated string.
Also in getValue there is an incorrect assumption that the currency
symbol is '$', it should of course be '£'!. I have no idea on how to go
about fixing this one.

Alvin
src/interfaces/jdbc/postgresql/util/PGmoney.java