radians function

double radians(
  1. double angle
)

Implementation

double radians(double angle) {
  // degrees × π / 180°
  return (angle * math.pi) / 180;
}