degToRad function

double degToRad(
  1. num deg
)

Implementation

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