Cos
Calculates the Cosine of a value.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
Cos | Trigonometric | Synchronous | 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 |