title: division in java
body: <p>I have a simple division in Java:</p>
  
  <pre><code>float f = 19.7f/100;
  System.out.println(f); // 0.19700001
  
  double d = 19.7/100;
  System.out.println(d); // 0.19699999999999998
  </code></pre>
  
  <p>Why does this happen?</p>