rad2Deg function

double rad2Deg(
  1. num rad
)

This method converts radians to degrees.

Implementation

double rad2Deg(num rad) => rad * (180.0 / pi);