Ray:
Thanks, but now some of the fields contain decimals as well. Anyway, please disregard this issue, as I already solved it. Just changed parseInt to parseFloat to the fields containing 1 decimal and added rowTot.toFixed(1); twice at the end of the script. It works.