toDegrees

The Math.toDegrees() method returns a number converted from radians to degrees

Syntax

toDegrees(radians)

Returns

degrees

Parameters

radians (float)
A number.