Re: chop off non-meaningful digits - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: chop off non-meaningful digits
Date
Msg-id 4558784A.14174.944A47@rod.iol.ie
Whole thread Raw
In response to chop off non-meaningful digits  ("SunWuKung" <Balazs.Klein@t-online.hu>)
List pgsql-general
On 13 Nov 2006 at 5:45, SunWuKung wrote:

> What would be the easiest way to get back only the meaningful digits of
> a numeric value in a pgsql function? eg?

There are various rounding functions built in... have a look at
http://www.postgresql.org/docs/8.1/static/functions-math.html

--Ray.


----------------------------------------------------------------------

Raymond O'Donnell
Director of Music, Galway Cathedral, Galway, Ireland
rod@iol.ie
----------------------------------------------------------------------



pgsql-general by date:

Previous
From: Walter Vaughan
Date:
Subject: Re: Trying to Install PhP-4 Module for PostgreSQL from
Next
From: "Shoaib Mir"
Date:
Subject: Re: chop off non-meaningful digits