tan()

[Trigonometry]

Description

Calculates the tangent of an angle (in radians). The result will be between negative infinity and infinity.

Syntax

tan(rad)

Parameters

rad: The angle in radians. Allowed data types: float.

Returns

The tangent of the angle. Data type: double.

See also

  • Language cos()

  • Language sin()