tan

Description

Returns the tangent of the specified angle (in radians).

Syntax

tan(angle)

Parameters

angle

is the size of the angle in radians, expressed as a column name, variable, or expression of type float, real, double precision, or any datatype that can be implicitly converted to one of these types.

Examples

Example 1

select tan(60)
-------------------- 
           0.320040

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute tan.

See also

Functions atan, atn2, degrees, radians