Editar

Partilhar via


radians()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Converts angle value in degrees into value in radians, using formula radians = (PI / 180 ) * angle_in_degrees

Syntax

radians(degrees)

Learn more about syntax conventions.

Parameters

Name Type Required Description
degrees real ✔️ The angle in degrees.

Returns

The corresponding angle in radians for an angle specified in degrees.

Example

print radians0 = radians(90), radians1 = radians(180), radians2 = radians(360) 

Output

radians0 radians1 radians2
1.5707963267949 3.14159265358979 6.28318530717959