using floats for basic math

note the rounding with 9/2 vs. 9.0 / 2.0. i've told the program to
round by not making it a float.