Returns the angle (in radians) whose sine and cosine are specified.
atn2(sine, cosine)
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.
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.
select atn2(.50, .48)
-------------------- 0.805803
atn2, a mathematical function, returns the angle (in radians) whose sine and cosine are specified.
For general information about mathematical functions, see “Mathematical functions”.
SQL92 – Compliance level: Transact-SQL extension.
Any user can execute atn2.