toRadians function

double toRadians(
  1. double degrees
)

Implementation

double toRadians(double degrees) {
  return degrees * math.pi / 180;
}