Here\'s the relevant code. I\'ve confirmed with the alert that the correct number is saved, it\'s just not being changed to 2 decimal places.
if ($(this).a
Example simple (worked):
var a=Number.parseFloat($("#budget_project").val()); // from input field var b=Number.parseFloat(html); // from ajax var c=a-b; $("#result").html(c.toFixed(2)); // put to id='result' (div or others)