Allow round() function to accept float and double precision

Поиск
Список
Период
Сортировка
От Sayyid Ali Sajjad Rizavi
Тема Allow round() function to accept float and double precision
Дата
Msg-id CAHxW8BAZZAw85E+hzXMN5wY8jba6LXsJ3ddjDaYSd27oMRiv4w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Allow round() function to accept float and double precision  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
Whenever rounding a number to a fixed number of decimal points in a calculation, we need to cast the number into a numeric before using round((col1/100.0)::numeric, 2).

It would be convenient for everyone if round() also accepts float and double precision.

Is this something I could work with? And is that feasible?

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: Tests for psql \g and \o
Следующее
От: Sayyid Ali Sajjad Rizavi
Дата:
Сообщение: Re: Enable pg_stat_statements extension for limited statements only