Re: numeric formats in SELECT - Mailing list pgsql-general

From scott.marlowe
Subject Re: numeric formats in SELECT
Date
Msg-id Pine.LNX.4.33.0307010648120.16127-100000@css120.ihs.com
Whole thread Raw
In response to numeric formats in SELECT  (javier garcia - CEBAS <rn001@cebas.csic.es>)
List pgsql-general
On Tue, 1 Jul 2003, javier garcia - CEBAS wrote:

> Hi all;
> I've got a table with real type data. And, in the SELECT, some of the columns
> are displayed in scientific format. I don't like this, and I would prefer
> that the number were shown with two decimal digits.
> Is this possible?

Does something like this work?:

select realcolumn::numeric(10,2) from table;


pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: 2 different versions of postgres on the same system
Next
From: "scott.marlowe"
Date:
Subject: Re: Cannot create unique index