title: Java rounding up to an int using Math.ceil
body: <pre><code>int total = (int) Math.ceil(157/32);
  </code></pre>
  
  <p>Why does it still return 4? <code>157/32 = 4.90625</code>, I need to round up, I've looked around and this seems to be the right method.</p>
  
  <p>I tried <code>total</code> as <code>double</code> type, but get 4.0.</p>
  
  <p>What am I doing wrong?</p>