"Sergey" <viras(at)yandex(dot)ru> writes:
> 8849.15+6464.57=15313.72
> But sum()=15313.7
You did not show what datatype you're summing, but if the column is
float4 this result wouldn't be surprising. float4 is only good
to about six decimal digits.
regards, tom lane