degToRad method

double degToRad(
  1. double deg
)

Implementation

double degToRad(double deg) => deg * (pi / 180.0);