Returns the angle (in radians) of the specified sine and cosine.
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.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute atn2.