Controlling the stepper motor

I get it now, the number of steps = the number of steps in one rotation. How do I go about controlling the rotation of the motor? lets say I only want a half rotation?