Any sort of rounding introduces an error, it is this error you want to eliminate to keep your motor in step.
Another way to go about it is to have an error accumulator variable and have a leap step when it overflows into a complete step out.
Any sort of rounding introduces an error, it is this error you want to eliminate to keep your motor in step.
Another way to go about it is to have an error accumulator variable and have a leap step when it overflows into a complete step out.