How to stop truncation in JavaScript number division
<p>In Java we use the double or float data type to get results in decimal points. However how do i do this in Javascript? The current calculation i am doing is:</p>

<pre><code>a1 += (a1 *  results[0][index]) / 100;
</code></pre>

<p>EDIT, My Apologises, There was a mistake on my side from using the wrong variables. </p>
