Re: float value is rounded

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: float value is rounded
Date: 2009-11-25 18:46:11
Message-ID: 162867790911251046v769db287s67b5edd0061ea913@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/11/25 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
>> I was surprised with rounding relative not big value. Is it correct?
>
> You do realize float4 has only 6 decimal digits of precision?
>

To today I though so float4 is more practical :).

I am smarter now
Pavel

>                        regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2009-11-25 20:30:30 Fwd: Writeable CTE patch
Previous Message Tom Lane 2009-11-25 18:39:49 Re: float value is rounded