TAN (T-SQL)

Returns the tangent of the input expression.

Syntax

TAN(float_expression)

Arguments
float_expression
Is an expression of type float or real, interpreted as number of radians.
Return Types

float

Examples

This example returns the tangent of PI()/2.

SELECT TAN(PI()/2)

  

Here is the result set:

----------------------

1.6331778728383844E+16

  

See Also

Mathematical Functions

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.