Skip to content

atan2

Syntax

atan2(y, x)

Parameters

y
a numeric expression.
x
a numeric expression.

Returns

The arc tangent of y/x, using the signs of both arguments to determine the quadrant of the return value.

Description

This action calculates the two parameter inverse tangent, and returns the principal value of the inverse tangent of y/x using the signs of both arguments to determine the quadrant of the returned value.

Examples

my_numeric = atan2(some_number)

See Also