How to divide numbers in java correctly
<p>How would I divide to ints? Like:</p>

<pre><code>int test = 41;
int divide = 2;
int total = test / divide;
</code></pre>

<p>Why does this return 0. I know because it returns a decimal... How would I make this work without making a Double, just an int, if I have to make a double then tell me that.</p>

<p>How do i round the variable... like lets say this return 2.1, can i round down to 2? or truncate the decimal?</p>

<p>What do I do?</p>
