Change this `1` to `1.0` and the other numbers throughout if they can be floating point numbers.