tan()

Synopsis

Returns the trigonometric tangent of an angle in degrees. Because of the nature of the tangent function, the input angle should not be 90 + n*180, or -90 - n*180, where n is any integer .

Syntax

tan ( deg As Number ) As Number
Argument Type Description
deg Number Angle in degrees

Example 1

 Intent >tan(45.0) 
--> 1.0

Example 2

Intent >tan(89.0) 
--> 57.2899616307591