TAN Function [Numeric]

Returns the tangent of a number.

Syntax

TANnumeric-expression )

Parameters

Parameter

Description

numeric-expression

An angle, in radians.

Returns

DOUBLE

Example

Returns the value 0.572561:

SELECT TAN( 0.52 ) FROM iq_dummy

Standards and Compatibility

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—Compatible with Adaptive Server Enterprise.

Related reference
COS Function [Numeric]
ATAN2 Function [Numeric]
ATAN Function [Numeric]
ASIN Function [Numeric]
ACOS Function [Numeric]
COT Function [Numeric]
SIN Function [Numeric]