title: Why is (1/2)*x different from 0.5*x?
body: <p>This behaves as wanted:</p>
  
  <pre><code>double t = r[1][0] * .5;
  </code></pre>
  
  <p>But this doesn't:</p>
  
  <pre><code>double t = ((1/2)*r[1][0]);
  </code></pre>
  
  <p><code>r</code> is a 2-D Vector. </p>
  
  <p>Just thought of a possibility. Is it because (<code>1/2</code>) is considered an <code>int</code> and <code>(1/2) == 0</code>?</p>