Re: float conversion / presentation problem ?

Поиск
Список
Период
Сортировка
От Enrico Weigelt
Тема Re: float conversion / presentation problem ?
Дата
Msg-id 20050408010532.GA18450@nibiru.borg.metux.de
обсуждение исходный текст
Ответ на Re: float conversion / presentation problem ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
* Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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?

Thats okay for me. I need only four.

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


cu
--
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: float conversion / presentation problem ?
Следующее
От: "Dobrena Miteva"
Дата:
Сообщение: problem with Win1251 (Cyrillic)