title: Get exact result for number division
body: <p><code>SELECT 9/2</code> gives <code>4</code></p>
  
  <p>Why gives postgresql automatically rounded result?</p>
  
  <p>There are some option for prevent this? (That is, I need that after division, if result is float, returns exactly and not rounded result).</p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>for example from function, I need return floating number</p>
  
  <pre><code>       CREATE OR REPLACE FUNCTION division_test (arg1 INTEGER, arg2 INTEGER,) RETURNS NUMERIC
          AS $$
              BEGIN
              RETURN arg1 / arg2;
              END;
          $$
          LANGUAGE plpgsql;
  </code></pre>
  
  <p><code>SELECT division_test (9,2)</code></p>
  
  <p>result: 4</p>
  
  <p>How to solve this problem?</p>