Parameters
X—angle in radians or a field (or indirect reference to a field), a variable, or a function or expression which evaluates to an angle in radians.
Return Values
Tangent of X
If an error occurs , $procerror contains a negative value that identifies the exact error.
Value | Error constant | Meaning |
---|---|---|
-1208 | <UPROCERR_OVERFLOW> | Overflow. |
Use
Allowed in all component types.
Using $tan
The following example returns the tangent of the given expression:
vTangent = $tan($pi() * RADIANS)