Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Performs a cosine operation on the input value. 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.
Examples
The following example demonstrates how to use the cos() function.
print cos(1)
Output
| result |
|---|
| 0.54030230586813977 |