atan

Description

Returns the angle (in radians) with a specified tangent.

Syntax

atan(tangent )

Parameters

tangent

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

Examples

Example 1

select atan(0.50)
-------------------- 
             0.463648 

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute atan.

See also

“Mathematical functions” for general information about mathematical functions.

Functions atn2, degrees, radians, tan