const radsToDegs = rad => rad * 180 / Math.PI; const degsToRads = deg => (deg * Math.PI) / 180.0;

javascript radian to degree

const degsToRads = deg => (deg * Math.PI) / 180.0; const radsToDegs = rad => rad * 180 / Math.PI;

javascript degree to radians

Similar Code Examples