title: Integer division in Octave
body: <p>I want to perform an integer division in Octave (I'm using the latest version <code>5.1.0</code>). I tired doing <code>idivide(5, 2, "round")</code> which should produce <code>3</code>. The <a href="http://octave.org/doc/v5.1.0/Integer-Arithmetic.html" rel="nofollow noreferrer">Documentation</a> says for using <code>idivide</code> with <code>round</code>:</p>
  
  <blockquote>
    <p>Calculate a ./ b with the fractional part rounded towards the nearest integer. </p>
  </blockquote>
  
  <p>However, the result I get is <code>2.5000</code>. What am I doing wrong?</p>
  
  <p><strong>Edit:</strong> sorry I used the wrong parameter when initially writing the question. Calling the function with <code>fix</code> works perfectly fine (e.g. <code>idivide(5, 2, "fix")</code> returns <code>2</code>), I get the problem when using <code>round</code>.</p>