rad to deg code example
Example 1: degrees to radians
radians = degrees * pi / 180;
Example 2: degrees to radians
double radians = Math.toRadians(degrees);
Example 3: rad in deg
deg = rad*180/pi
radians = degrees * pi / 180;
double radians = Math.toRadians(degrees);
deg = rad*180/pi