chop off non-meaningful digits

Поиск
Список
Период
Сортировка
От SunWuKung
Тема chop off non-meaningful digits
Дата
Msg-id 1163425544.031647.208480@m7g2000cwm.googlegroups.com
обсуждение исходный текст
Ответы Re: chop off non-meaningful digits
Re: chop off non-meaningful digits
Re: chop off non-meaningful digits
Список pgsql-general
What would be the easiest way to get back only the meaningful digits of
a numeric value in a pgsql function? eg?

1.002 --> 1.002
1.020 --> 1.02
1.200 --> 1.2
1.000 --> 1

Thanks
SWK


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