Rounding floats

Try
Math.round()