converting radians to degrees formula code example
Example 1: degrees to radians
radians = degrees * pi / 180;
Example 2: how to convert radians to degrees
// Math is in the System namespace.
double degrees = radians * 180 / Math.PI;
radians = degrees * pi / 180;
// Math is in the System namespace.
double degrees = radians * 180 / Math.PI;