public static double toDegrees (double angrad)

Converts an angle measured in radians to an approximately equivalent angle measured in degrees. The conversion from radians to degrees is generally inexact; users should not expect cos(toRadians(90.0)) to exactly equal 0.0.

Parameters:
angrad    an angle, in radians

Returns:  the measurement of the angle angrad in degrees.

Since:  1.2