10 radians to degrees code example
Example 1: javascript radian to degree
const radsToDegs = rad => rad * 180 / Math.PI;
const degsToRads = deg => (deg * Math.PI) / 180.0;
Example 2: how to convert radians to degrees
// Math is in the System namespace.
double degrees = radians * 180 / Math.PI;
Example 3: degrees to radians
double radians = Math.toRadians(degrees);