javascript degree to radians
snippet in javascript

javascript radian to degree

user4696

const radsToDegs = rad => rad * 180 / Math.PI;

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

javascript degree to radians

user8553

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

const radsToDegs = rad => rad * 180 / Math.PI;