Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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 ) 
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'
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.