title: Return of PostgreSQL function
body: <p>I have a table with a field named <code>AMOUNT double precision</code>, and a function that returns another data also <code>double precision</code>. What happens is that if I do</p>
  
  <pre><code>select (VALUE - function ())
  </code></pre>
  
  <p>where both the <code>VALUE</code> as well as the result of the function are equal, the result is still <code>2.27373675443232e-013</code>.</p>
  
  <p>I found it very strange and I do not know what to do, since I performed some tests with conversions and rounding and nothing</p>
  
  <p>Anyone have any idea what might be going on?</p>