Stepper motor step accuracy

Why are you using a float when you want an integer number of steps?

...R