Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
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
Returns the corresponding angle in degrees for an angle specified in radians.
Examples
The following example shows how to convert radians to degrees.
print degrees0 = degrees(pi()/4), degrees1 = degrees(pi()*1.5), degrees2 = degrees(0)
Output
| degrees0 | degrees1 | degrees2 | 
|---|---|---|
| 45 | 270 | 0 |