Skip to content
ricardoboss edited this page Sep 13, 2023 · 1 revision

Description

tan is a function that returns the tangent of a number.

Syntax

tan(number x)
  • x is the number to calculate the tangent of.

Examples

tan(0) // 0
tan(1) // 1.5574077246549023
tan(pi) // 0