ATN2

Returns the angle, in radians, between the positive x-axis and the ray from the origin to the point (y, x), where x and y are the values of the two specified float expressions.

Syntax

ATN2 ( float_expression , float_expression )

Arguments

float_expression

Is an expression of the float data type.

Return types

float

Examples

SELECT ATN2(0.50, 0.50);

See Also