The tan function returns the tangent of the parameter passed to it. The type of the value returned by this function is always real.
The tan function's only parameter is a numeric expression (i.e. an expression of integral type or of real type), which is an angle in radians.
tan(pi/4) returns 1.0
Operating Systems: All
Standard Pascal: No