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 .
tan ( deg As Number ) As Number
Argument | Type | Description |
---|---|---|
deg | Number | Angle in degrees |
Intent >tan(45.0) --> 1.0
Intent >tan(89.0) --> 57.2899616307591