ABS
ALL
AND
ANY
AVG
bit
COS
COT
DAY
EXP
GO
IN
LEN
LOG
MAX
MIN
NOT
OR
PI
SET
SIN
STR
SUM
TAN
USE
VAR
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

TAN

SQL Server 2000

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.