Re: remove $ from money field

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robby Russell <rrussell(at)commandprompt(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: remove $ from money field
Date: 2003-08-09 03:13:28
Message-ID: 2977.1060398808@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Robby Russell <rrussell(at)commandprompt(dot)com> writes:
> When selecting a field that is of type money, how can I remove the $
> when selected?

Actually, almost the only thing money does for you is put in the $ sign
;-). I'd recommend using type numeric instead, if you have any desire
for more flexibility.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-09 03:17:31 Re: Random via Subselect or Temporary Table
Previous Message Gregory S. Williamson 2003-08-09 01:29:54 Re: One table in two different databases