How can you find the whole number of a given decimal or other number in JavaScript?
<p>I need to do some calculations as follows in JavaScript:</p>

<ol>
<li>If result of a division is 0.02 final result should be 1 </li>
<li>If result of a division is 1.2 final result should be 2</li>
<li>If result of a division is 2.05 final result should be 3</li>
</ol>
