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