Search Postgresql Archives

Re: rounding problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Double holds 15 places which is the highest value of precision it can maintain before rounding occurs.

Is is limit less no, but what is?

Practically speaking  taking a vale 0.000,000,000,000,001 aka
1 trillionth of anything,  i view the problem solved for 98% of problems.

Does it hide?  Yes,  but it hides it very well. :-P

Tomasz Ostrowski wrote:
On 2008-05-13 19:21, Justin wrote:

I change it to double  problem goes away.

No, it does not. It only hides it deeper. double is also a floating point type and has the same problems.

Regards
Tometzky


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux