edit calc.js to have floats instead of ints