pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: sreejith s <getsreejith@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: "Money" Data Type Problem
Date: Tue, 19 Apr 2005 06:59:01 -0700 (PDT)
Message-ID: <20050419065638.B72646@megazone.bigpanda.com> (raw)
In-Reply-To: <5d14ecf905041900375fbceed4@mail.gmail.com>
References: <5d14ecf905041900375fbceed4@mail.gmail.com>


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.




view thread (2+ messages)

Message-ID: <20050419065638.B72646@megazone.bigpanda.com>
Permalink:  ../20050419065638.B72646@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20050419065638.B72646@megazone.bigpanda.com

 · 

reply

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-sql@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, getsreejith@gmail.com
  Subject: Re: "Money" Data Type Problem
  In-Reply-To: <20050419065638.B72646@megazone.bigpanda.com>

* 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