From: Rich Ryan <rich@usedcars.com>
To: pgsql-general@postgresql.org
Subject: Convert money type to int
Date: Wed, 12 Dec 2001 19:36:30 -0800
Message-ID: <07b301c18387$5cd52260$1a02a8c0@gateway> (raw)
References: <003201c17f75$fa05f480$8b00000a@acim>
<006001c181a6$3892e5f0$8b00000a@acim>
<4619.1008030260@sss.pgh.pa.us>
<1008152023.26899.2.camel@acim.mbl.is>
There are some instances where I want to display a column I defined as type
money, without the $ sign and truncate the cents. Is there an easy way to do
this? Some kind of built-in function? I tried searching the mailing list
archives on the web site, but it was broken.
Thanks,
Rich
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-admin@postgresql.org
Cc: rich@usedcars.com, pgsql-general@postgresql.org
Subject: Re: Convert money type to int
In-Reply-To: <07b301c18387$5cd52260$1a02a8c0@gateway>
References: <003201c17f75$fa05f480$8b00000a@acim> <006001c181a6$3892e5f0$8b00000a@acim> <4619.1008030260@sss.pgh.pa.us> <1008152023.26899.2.camel@acim.mbl.is> <07b301c18387$5cd52260$1a02a8c0@gateway>
* 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