Skip site navigation (1) Skip section navigation (2)

Re: float conversion / presentation problem ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: weigelt(at)metux(dot)de
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: float conversion / presentation problem ?
Date: 2005-04-07 04:23:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Enrico Weigelt <weigelt(at)metux(dot)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

In response to


pgsql-bugs by date

Next:From: John R PierceDate: 2005-04-07 04:40:26
Subject: Re: float conversion / presentation problem ?
Previous:From: PreethiDate: 2005-04-07 03:51:33
Subject: BUG #1586: Rollback of installation during a silent install with -qn option

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group