Re: How to avoid: 9.50184e+06 - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: How to avoid: 9.50184e+06
Date
Msg-id 20070928124627.GB12509@svana.org
Whole thread Raw
In response to How to avoid: 9.50184e+06  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
List pgsql-general
On Fri, Sep 28, 2007 at 02:08:18PM +0200, Stefan Schwarzer wrote:
> how can I avoid results like this: 9.50184e+06
>
> Instead it should return the "real" value, as 950184.

Presumably to_text would do what you want. Alternatively, perhaps you
intended your column to be type numeric?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: How to avoid: 9.50184e+06
Next
From: Ottavio Campana
Date:
Subject: Re: question about pg_dump -a