cos()

Applies to: ✅ Azure Data ExplorerAzure MonitorMicrosoft Sentinel

Returns the cosine function value of the specified angle. The angle is specified in radians.

Syntax

cos(number)

Learn more about syntax conventions.

Parameters

Name Type Required Description
number real ✔️ The value in radians for which to calculate the cosine.

Returns

The cosine of number of radians.

Example

print cos(1)

Output

result
0.54030230586813977