strip zeros from fractional part

Поиск
Список
Период
Сортировка
Искать
От
Giovanni M.
Тема
strip zeros from fractional part
Дата
Msg-id
9216699e0510031144k4430be19s3d00154b30757f9e@mail.gmail.com
Список
Дерево обсуждения
Re: strip zeros from fractional part "Dann Corbit" <DCorbit@connx.com>
Hi guys,

I am searching for a function that enables me to strip the trailing
zeros in the fractional part of a number (numeric type). For example a
number saved in a column of type numeric as such: 23.45000 would be
returned as 23.45

I can't find any function that does this in the documentation, does
something like this exist or do i need to write some custom function
myself?

Thanks for any help,

Giovanni Martina

--
A World of KEIGI
http://keigi.blogspot.com
В списке pgsql-general по дате отправления
От: J B
Дата:
Сообщение: Integration with MS Sql Server
От: Dann Corbit
Дата:
FAQ