Export (0) Print
Expand All
Expand Minimize

Returns the angle, in radians, whose tangent is the quotient of two given float expressions. Also referred to as arctangent.



ATN2 ( float_expression, float_expression ) 

float_expression

An expression of the type float, or of types that can be implicitly converted to float.


float

The following example returns the arctangent of the two values TAN(0) and TAN(90), which is the value pi.


SELECT ATN2(TAN(0), TAN(90)) 'Arc tangent'
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft