This trigonometric function returns the tangent of an angle.
TAN(nExpression) |
Parameters
- nExpression
- Specifies the angle in radians for which TAN(В ) returns the tangent. To convert an angle from degrees to radians, use DTOR(В ). The number of decimal places returned by TAN(В ) can be specified with SET DECIMALS.
Return Value
Numeric
Example
В | Copy Code |
---|---|
CLEAR ? TAN(0) && Displays 0.00 ? TAN(PI( )/4) && Displays 1.00 ? TAN(PI( )*3/4) && Displays -1.00 |