Re: Displaying a float8 as a full-length number

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Displaying a float8 as a full-length number
Дата
Msg-id 20031008182920.GA31260@wolff.to
обсуждение исходный текст
Ответ на Displaying a float8 as a full-length number  (Grant Rutherford <grutherford@iders.ca>)
Список pgsql-general
On Wed, Oct 08, 2003 at 12:48:09 -0500,
  Grant Rutherford <grutherford@iders.ca> wrote:
>
> I need this to return 0.00001 instead.  I know about the to_char
> function, but this seems to truncate the number after fourteen digits of
> precision:

How about casting it to numeric? It seemed to work reasonably for me,
but I only tried one case.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Call for Speakers / Presenters
Следующее
От: Grant Rutherford
Дата:
Сообщение: Re: Displaying a float8 as a full-length number