pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: "D'Arcy" "J.M." Cain <darcy@druid.net>
To: marciom@conectiva.com.br
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] question about money type
Date: Wed, 12 May 1999 11:13:16 -0400 (EDT)
Message-ID: <m10hahA-0000bIC@druid.net> (raw)
In-Reply-To: <Pine.LNX.4.10.9905121049370.6347-100000@animaniacs.conectiva.com.br>

Thus spake Marcio Macedo
> Hi all,
> 
> when I do a SELECT in a money field, it returns the folowing :
> 
> R$2.244,00
> 
> what is correct , according with my LOCALE settings,
> is there a way to format this result to 
> 
> 2.244,00 (without the "R$") ?

Not really.  There was once some discussion about removing the currency
string altogether on output (I even sent in patches) but it was decided
to keep it in because no one will be using the MONEY type eventually.
Everyone is being urged to use the NUMERIC type.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.



view thread (3+ messages)  latest in thread

Message-ID: <m10hahA-0000bIC@druid.net>
Permalink:  ../m10hahA-0000bIC@druid.net/
Also on:    postgresql.org/message-id/m10hahA-0000bIC@druid.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: darcy@druid.net, marciom@conectiva.com.br
  Subject: Re: [SQL] question about money type
  In-Reply-To: <m10hahA-0000bIC@druid.net>
  References: <Pine.LNX.4.10.9905121049370.6347-100000@animaniacs.conectiva.com.br> <m10hahA-0000bIC@druid.net>

* 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