How can I manipulate an object's rotation to ease in toward a specific rotation?

This is my script so far:


clip.trot = Math.atan2(clip._y-clip.targety,clip._x-clip.targetx)*180/Math.PI-270;

clip._rotation += (clip.trot-clip._rotation)/2;