radiansToDegrees static method

double radiansToDegrees(
  1. double angleRadians
)

Converts radians to degrees. @param {number} angleRadians Angle in radians. @return {number} Angle in degrees.

Implementation

static double radiansToDegrees(double angleRadians)
{
  return angleRadians * 180 / Math.PI;
}