1.2e+02 -> 120

Started by Przemyslaw Bakover 27 years ago1 messagesgeneral
Jump to latest
#1Przemyslaw Bak
przemol@st3.makro.com.pl

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