Skip to main content
Version: 24.3.x

Categories: Math

TAN

Computes the tangent of a value in radians.

Syntax

TAN(numeric_expression double) → double

  • numeric_expression: The number in radians.

Examples

TAN example
SELECT TAN(180.8)
-- -6.259341891872157

TAN(numeric_expression int64) → double

  • numeric_expression: The number in radians.

Examples

TAN example
SELECT TAN(1200)
-- -0.08862461268886584

TAN(numeric_expression int32) → double

  • numeric_expression: The number in radians.

Examples

TAN example
SELECT TAN(1200)
-- -0.08862461268886584

TAN(numeric_expression float) → double

  • numeric_expression: The number in radians.

Examples

TAN example
SELECT TAN(180.8)
-- -6.259341891872157