title: Odd behaviors when dividing doubles in Java
body: <p>When I divide 317 by 219 in Java using doubles I get 1.<br>
  For example:</p>
  
  <pre><code>double b = 317/219;
  System.out.println(b);
  </code></pre>
  
  <p>Output is: 1.</p>
  
  <p>Is this because it is a recurring decimal?
  Have had to use BigDecimal instead which is annoying. </p>