Calculates the tangent.
Tan(x)
(f) x angle in radians.
(f) the Tan function returns the tangent of x..
Calculates the tangent. If x is large, a loss in significance in the result or significance error may occur.
Note: To convert an angle measured in degrees to radians, simply multiply by the constant @Deg2Rad.
real=AskLine("Tangent", "Enter an angle between 0 and 360", "45", 0) answer=Tan(real * @DEG2RAD) Message("Tangent of %real% degrees is", answer)