toDegrees

.toDegrees()

Converts this value to degrees, and returns it.

// sets angle to approximately 180
angle = 3.142.toDegrees()

See also

toRadians