Code:
Pi= 3.141592654

AngleR = AngleD * Pi / 180

AngleD = AngleR * 180 / Pi