Lou,
Does the following correctly describe what you want to accomplish?
Given position d and stepper motor resolution steps_per_unit,
calculate the position closest to d that a
steps_per_unit stepper motor can achieve.
A terse yes or no without explanation is best.