From: Haris Susanto <hariss@dnet.net.id>
To: pgsql-sql-digest <pgsql-sql@hub.org>
Subject: money format
Date: Thu, 26 Aug 1999 15:37:21 +0700
Message-ID: <13650.990826@dnet.net.id> (raw)
In-Reply-To: <199908240300.XAA66892@hub.org>
References: <199908240300.XAA66892@hub.org>
Hello pgsql-sql-digest,
I want to ask about currency format in PostgreSQL. Suppose I have a
table like this :
my_money (data type : int)
--------
10000
20000
30000
In which way I can query those record in currency format. But please
don't ask me to convert the data type into money type, coz it means
put me into big trouble ! :)
What I want is like these :
10.000 or 10.000,- or 10.000,00
20.000 or 20.000,- or 20.000,00
30.000 or 30.000,- or 30.000,00
I hope somebody will give me advice.
Thanks in advanced.
Best regards,
Haris mailto:hariss@dnet.net.id
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: hariss@dnet.net.id, pgsql-sql@hub.org
Subject: Re: money format
In-Reply-To: <13650.990826@dnet.net.id>
References: <199908240300.XAA66892@hub.org> <13650.990826@dnet.net.id>
* 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