Skip to content

tan

tan(x) → number · Math

Compute the tangent of an angle in radians.

  • x (required): angle in radians
utlx
tan(pi() / 4)                            // ~1.0

Released under AGPL-3.0.