Re: float conversion / presentation problem ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: float conversion / presentation problem ?
Дата
Msg-id 13502.1112847805@sss.pgh.pa.us
обсуждение исходный текст
Ответ на float conversion / presentation problem ?  (Enrico Weigelt <weigelt@metux.de>)
Ответы Re: float conversion / presentation problem ?  (John R Pierce <pierce@hogranch.com>)
Re: float conversion / presentation problem ?  (Enrico Weigelt <weigelt@metux.de>)
Список pgsql-bugs
Enrico Weigelt <weigelt@metux.de> writes:
> i've noticed an problem with conversion from real to float -
> this produces ugly values. (in fact it seems to be real->float8)

You do realize that float4/real is only good to six decimal places
on most platforms?

You can take the issue up with the glibc boys if you like, but
I think you'll get laughed off.

            regards, tom lane

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

Предыдущее
От: Enrico Weigelt
Дата:
Сообщение: float conversion / presentation problem ?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: float conversion / presentation problem ?