degrees()
Converts angle value in radians into value in degrees, using the formula degrees = (180 / PI ) * angle_in_radians
.
Syntax
degrees(
radians)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
radians | real |
✔️ | The angle in radians to convert to degrees. |
Returns
The corresponding angle in degrees for an angle specified in radians.
Examples
print degrees0 = degrees(pi()/4), degrees1 = degrees(pi()*1.5), degrees2 = degrees(0)
Output
degrees0 | degrees1 | degrees2 |
---|---|---|
45 | 270 | 0 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for