float to numeric(7,3) - Mailing list pgsql-novice

From Steve Horn
Subject float to numeric(7,3)
Date
Msg-id CAFLkBaVDjWmjLOnazH=okEK7J+WSWFiTQoxGx4UG2azZCxb-tg@mail.gmail.com
Whole thread Raw
Responses Re: float to numeric(7,3)  (Frank Bax <fbax@sympatico.ca>)
Re: float to numeric(7,3)  (Bryan Lee Nuse <nuse@uga.edu>)
List pgsql-novice
Have a very simple question, but cannot seem to find an answer anywhere.

Using the ST_Distance function from PostGIS (http://www.postgis.org/docs/ST_Distance.html) which returns a float.

I would like to return the result of this function rounded to 3 decimal places. What is the best way to do that?

pgsql-novice by date:

Previous
From: Gavin Flower
Date:
Subject: Re: How To Store Large Text Strings
Next
From: Frank Bax
Date:
Subject: Re: How To Store Large Text Strings