pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
"Money" Data Type Problem
2+ messages / 2 participants
[nested] [flat]

* "Money" Data Type Problem
@ 2005-04-19 07:37  sreejith s <getsreejith@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: sreejith s @ 2005-04-19 07:37 UTC (permalink / raw)
  To: pgsql-sql

Hai friends,
I have a field with data type 'Money' with my table. I select this
field a select query and displays the same in a textbox. While doing
this a dollar ($) is prefixed to the actual table value. How to avoid
this symbol so as to display the actual value only. Any format change
needed in config files. Pls forward me the reply.

Sreejith



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: "Money" Data Type Problem
@ 2005-04-19 13:59  Stephan Szabo <sszabo@megazone.bigpanda.com>
  parent: sreejith s <getsreejith@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2005-04-19 13:59 UTC (permalink / raw)
  To: sreejith s <getsreejith@gmail.com>; +Cc: pgsql-sql


On Tue, 19 Apr 2005, sreejith s wrote:

> Hai friends,
> I have a field with data type 'Money' with my table. I select this
> field a select query and displays the same in a textbox. While doing
> this a dollar ($) is prefixed to the actual table value. How to avoid
> this symbol so as to display the actual value only. Any format change
> needed in config files. Pls forward me the reply.

I believe money uses the currency symbol based on LC_MONETARY so there
might exist one without a symbol, however you'd probably be best off
replacing money with an appropriate numeric field.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-04-19 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 07:37 "Money" Data Type Problem sreejith s <getsreejith@gmail.com>
2005-04-19 13:59 ` Stephan Szabo <sszabo@megazone.bigpanda.com>

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