# atn2

### Description

Returns the angle (in radians) whose sine and cosine are specified.

### Syntax

atn2(*sine*, *cosine*)

### Parameters

*sine*
is the sine 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.

*cosine*
is the cosine 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 atn2(.50, .48)

--------------------
0.805803

### Usage

**atn2**, a mathematical
function, returns the angle (in radians) whose sine and cosine are
specified.

For general information about mathematical functions,
see “Mathematical functions”.

### Standards

**SQL92** – Compliance level: Transact-SQL
extension.

### Permissions

Any user can execute **atn2**.

### See also

**Functions** atan, degrees, radians, tan