Stepper motor step accuracy

I wanted to make sure to give 25.0 value as a step. But even int I was confronting same problem.

Stick to ints because floats are only ever an approximation to the value. 25.0 could very well be 24.9999999234 and it could truncate rather than round.