Re: How to truncate? integers

Поиск
Список
Период
Сортировка
От Jean-Yves F. Barbier
Тема Re: How to truncate? integers
Дата
Msg-id 20111116223552.5b2213c2@anubis.defcon1
обсуждение исходный текст
Ответ на How to truncate? integers  (Johann Schatzer <schatzer.johann@gmail.com>)
Список pgsql-novice
On Wed, 16 Nov 2011 21:26:19 +0100
Johann Schatzer <schatzer.johann@gmail.com> wrote:

SELECT trunc(4770, -2);
 trunc
-------
  4700
(1 ligne)

> How can I ~truncate~ integers?
>
>
> this column
>
> 4770
> should give
>
> 4700

--
Q:    How do you tell if an Elephant has been making love in your backyard?
A:    If all your trashcan liners are missing ...

В списке pgsql-novice по дате отправления:

Предыдущее
От: Leif Biberg Kristensen
Дата:
Сообщение: Re: How to truncate? integers
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: How to truncate? integers