I have a fiddle here: http://jsfiddle.net/94wQJ/1/ - but probably someone can advise just by looking below.
<button type="button" id="allocate">Calc</button>
 $('#allocate').click(function () {
     val1 = 25.00;
     val2 = 16.37;
     val3 = val1-val2;
     alert(val3);
 });
25 - 16.37 = 8.63 - however, the alert for val3 = 8.62999999999
Why is it not accurate?
Thank you,
Mark
 
     
     
     
     
    