Re: Displaying more than six digits from a real number

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Displaying more than six digits from a real number
Дата
Msg-id 1759.1101956371@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Displaying more than six digits from a real number  (Clodoaldo Pinto <clodoaldo_pinto@yahoo.com.br>)
Ответы Re: Displaying more than six digits from a real number
Список pgsql-general
Clodoaldo Pinto <clodoaldo_pinto@yahoo.com.br> writes:
> The 7.4.2 manual says the precision of a real number is 6 decimal digits.
> Is it possible to force the display of more than six decimal digits of a real
> number

Perhaps the extra_float_digits runtime parameter is what you want?
(You are of course aware that there aren't really more than six
useful digits there... or if you're not, maybe you should stay away
from float and use numeric.)

            regards, tom lane

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Displaying more than six digits from a real number
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: data integrity and inserts