degToRad function

double degToRad(
  1. num deg
)

Converts degrees to radians.

Implementation

double degToRad(num deg) => 0.0174532925 * deg;