Bewerken

Delen via


degrees()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft 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

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