I found [this][1], rather difficult, javascript example online and I\'ve implemented it with success in my website.
However, I would like to get the result of, in th
Replace:
document.getElementById('total').value = parseInt(sum);
With:
document.getElementById('total').value = sum;
You have already done all the int-parsing you need to do.