atan

Description

Returns the angle (in radians) of the 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

atan, a mathematical function, returns the angle (in radians) of a tangent with the specified value.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute atan.

See also

Documentation Transact-SQL Users Guide

Functions atn2, degrees, radians, tan