Description
Calculates the tangent of an angle.
Syntax
Tan ( n )
Return value
Double. Returns the tangent of n if it succeeds and -1 if an error occurs.
Examples
Both these expressions return 0:
Tan(0) Tan(Pi(1))
This expression returns 1.55741:
Tan(1)
See also
Tan in the section called “Tan” in PowerScript Reference