Re: float conversion / presentation problem ? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: float conversion / presentation problem ?
Date
Msg-id 13502.1112847805@sss.pgh.pa.us
Whole thread Raw
In response to float conversion / presentation problem ?  (Enrico Weigelt <weigelt@metux.de>)
Responses Re: float conversion / presentation problem ?
Re: float conversion / presentation problem ?
List 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 by date:

Previous
From: Enrico Weigelt
Date:
Subject: float conversion / presentation problem ?
Next
From: John R Pierce
Date:
Subject: Re: float conversion / presentation problem ?