Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ATN2 (SQL Server Compact)

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 ) 


An expression of the type float, or of types that can be implicitly converted to 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'
© 2016 Microsoft