tan()

Description

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

Syntax

tan(rad)

Parameter Values

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

Return Values

  • The tangent of the angle. Data type: double.

See Also

Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.