From: Jackson, DeJuan <djackson@cpsgroup.com>
To: Ken J. Wright <ken@ori-ind.com>
To: pgsql-interfaces@postgreSQL.org
Subject: RE: [INTERFACES] money format
Date: Wed, 11 Nov 1998 13:03:15 -0600
Message-ID: <F10BB1FAF801D111829B0060971D839F4F2EC0@cpsmail> (raw)
> insert into table values (100);
> insert into table values (100.);
> insert into table values (100.00);
>
> Error while executing the query;
> WARN:Bad money external representation
> 100.000000 (1)
>
> I've searched the docs, but I can not find how to enter a value in a
> money
> field. It would seem that any number should sqeeze in, even with
> forced
> rounding by the backend. It shouldn't be this hard ;-(
>
> Tried with psql, libpq, BDD.
>
> Ken
>
Don't what version you are using but using '100.23' works for me.
-DEJ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: djackson@cpsgroup.com, ken@ori-ind.com
Subject: RE: [INTERFACES] money format
In-Reply-To: <F10BB1FAF801D111829B0060971D839F4F2EC0@cpsmail>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox