Sin
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Return the trigonometric sine of a number.
Syntax
Sin(x)
Arguments
-
x
Must be an integer or real number, which represents an angle in radians
Returns
The sine of x
Exceptions
If x is not a number, returns an error value
Example
-
Sin(1)
[Returns 0.84147]
-
Sin(1.1)
[Returns 0.89121]
-
Sin('att1')
[Return the trigonometric sine of the value of 'att1' at trigger time]