Cos
- Last UpdatedOct 29, 2026
- 1 minute read
Calculates the Cosine of a value.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
Cos |
Trigonometric |
Synchronous |
Yes |
Supported |
Supported |
Supported |
Supported |
Supported |
Syntax
Cos( numAngle )
numAngle
The Angle (in radians) from which to calculate the Cosine.
Returned value
Returns the Cosine of numAngle.
Examples
|
Tag Name |
Expression |
|---|---|
|
Tag |
Cos( 1.570796 ) // Returned value = 0.000000 |
|
Tag |
Cos( 0 ) // Returned value = 1.000000 |