jQuery Calculationswith Decimal
<p>So i am unsure how to display decimal from these calculations - i also need to show interest code is:</p>

<pre><code>function reCalc(borrowValue) {
    $("#targetVal").html("&amp;pound;" + borrowValue);
    var borrowBC = Math.floor(borrowValue * 1.25);
    var borrowAC = Math.floor(borrowBC + 4.95);
    $("#paybackAmount").html(borrowAC);
}
</code></pre>

<p>Which works like:</p>

<pre><code>borrowValue = 100
BorrowBC = 125
BorrowAC = 129
</code></pre>

<p>2 things i want to ideally do:</p>

<p>1) Be decimal for the BorrowAC so its 129.95 not 129</p>

<p>2) i would also like to show the difference to work out interest applied so assuming borrowValue minus borrowAC i think?</p>

<p>Basically if i borrow 100 i pay 25 interest and 4.95 charges so i want to show the charges and interest applied to the 100 separately this will increase based on the amount they want though</p>

<p>Much appreciated in advance :)</p>
