Javascript Slight Error In Calculations Stack Overflow

Javascript Slight Error In Calculations Stack Overflow