1.2e+02 -> 120 - Mailing list pgsql-general

From Przemyslaw Bak
Subject 1.2e+02 -> 120
Date
Msg-id Pine.SV4.3.96.980910194316.13833A-100000@STORE3
Whole thread Raw
List pgsql-general
Hi,

I have query:
select sum(total_sales)
from sales;

After I run the query it prints:

sum
-----------
1.2e+03
(1 row)

How can I force postgres to display it as

sum
-----------
1200
(1 row)



przemol


pgsql-general by date:

Previous
From: Simon Drabble
Date:
Subject: PQgetvalue weirdness
Next
From: Chris Johnson
Date:
Subject: Re: [GENERAL] PQgetvalue weirdness