toAngle

Converts this Number to an angle measurement in the specified AngleUnit.

Return

An Angle object representing the converted angle.

Parameters

unit

The unit to which the number should be converted.