Re: [SQL] question about money type

From: "D'Arcy" "J(dot)M(dot)" Cain <darcy(at)druid(dot)net>
To: marciom(at)conectiva(dot)com(dot)br (Marcio Macedo)
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] question about money type
Date: 1999-05-12 15:13:16
Message-ID: m10hahA-0000bIC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at){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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 1999-05-12 15:39:41 Re: [SQL] question about money type
Previous Message Marcio Macedo 1999-05-12 13:54:03 question about money type