Fix floating point math

Math.round was discarding precision, but the user wants to know when
their calculated values aren't integers. Fix was to scale up the
factors, do the multiplication, then scale the result down.