Re: chop off non-meaningful digits

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: chop off non-meaningful digits
Дата
Msg-id 4558784A.14174.944A47@rod.iol.ie
обсуждение исходный текст
Ответ на chop off non-meaningful digits  ("SunWuKung" <Balazs.Klein@t-online.hu>)
Список 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 по дате отправления:

Предыдущее
От: Walter Vaughan
Дата:
Сообщение: Re: Trying to Install PhP-4 Module for PostgreSQL from
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: chop off non-meaningful digits