tan()

The tan() function calculates the tangent of an angle.

Syntax

tan(expr)
Note:
  1. Calculates the tangent of number(expr).
  2. number(expr) is the angle in degrees.