Changed parseInt to parseFloat so it would pick up the numbers after the decimal for the calculation.