Bill Stanbrook #1 Here's my little wrapvalue function. Seems to work well enough with negative numbers. Function F_WrapValue#( v# ) v# = v# / 360.0 Return ( v# - Floor# ( v# ) ) * 360.0 End Function