I have a column latitude
of type real
in my Postgres table.
Looking at it in Postico, it has the value of 57.70887
.
But selecting it from psql or via code, the value returned is rounded to 4 decimal places:
# SELECT latitude from categories where id = 4;
latitude
----------
57.7089
(1 row)
What am I doing wrong?
Postgres 9.6.