Function deg2rad

Converts an angle from degrees to radians.

  • Parameters

    • deg: number

      The angle in degrees.

    Returns number

    The angle converted to radians.