degToRadian function

double degToRadian(
  1. double deg
)

Converts degree to radian

Implementation

double degToRadian(final double deg) => deg * (pi / 180.0);