The Fauna service will be ending on May 30, 2025.

For more information on the service wind down, see our announcement and the Fauna Service End-of-Life FAQ.

Math.tan()

Get the tangent of a Number in radians.

Signature

Math.tan(x: Number) => Number

Description

Gets the tangent of a Number in radians.

Parameters

Parameter Type Required Description

x

Number

true

Number representing an angle in radians.

Return value

Type Description

Number

Tangent of the provided number.

Examples

Math.tan(1)
1.5574077246549023
\