title: When I do division in Java, I lose my decimal, how to show it?
body: <p>when I do this </p>
  
  <pre><code>    double money = 2.3452;
      DecimalFormat decFor = new DecimalFormat("0.00");
      System.out.println(decFor.format(money));
  </code></pre>
  
  <h2>I get this output: 2.35</h2>
  
  <p>But when I do this</p>
  
  <pre><code>    double money = 1/8;
      DecimalFormat decFor = new DecimalFormat("0.00");
      System.out.println(decFor.format(money));
  </code></pre>
  
  <p>I get: 0.00</p>
  
  <p>How to make Java to show you 0.12 instead of 0.00?</p>