how to convert degree to radiant code example
Example 1: degrees to radians
radians = degrees * pi / 180;
Example 2: degrees to radians
double radians = Math.toRadians(degrees);
radians = degrees * pi / 180;
double radians = Math.toRadians(degrees);