getRadians static method

double getRadians(
  1. double angle
)

Implementation

static double getRadians(double angle) {
  return angle * pi / 180;
}