radianToDeg function

double radianToDeg(
  1. double rad
)

Radian to degree

Implementation

double radianToDeg(final double rad) => rad * (180.0 / pi);