TAN function [Numeric]

Returns the tangent of a number.

Syntax
TAN( numeric-expression )
Parameters
  • numeric-expression   An angle, in radians.

Remarks

The ATAN and TAN functions are inverse operations.

This function converts its argument to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value of the tan of 0.52.

SELECT TAN( 0.52 );