deg2Rad function

double deg2Rad(
  1. num deg
)

This method converts degrees to radians.

Implementation

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