JavaScript Radian a grado
const radsToDegs = rad => rad * 180 / Math.PI;
const degsToRads = deg => (deg * Math.PI) / 180.0;
Batman
const radsToDegs = rad => rad * 180 / Math.PI;
const degsToRads = deg => (deg * Math.PI) / 180.0;
radians = degrees * pi / 180;
degrees = radians * 180 / pi
// Math is in the System namespace.
double radians = degrees * Math.PI / 180;
double radians = Math.toRadians(degrees);
// Radians to degrees
double degrees = radians * 180 / Math.PI;