Skip to main content

ATN2

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Returns the angle in radians of the vector (x, y).

Syntax
ATN2(<numeric expression>, <numeric expression>)
Example
ATN2(1, 0) // Pi/2 ~= 1.57079632679
ATN2(0, 1) // 0.0
ATN2(1, 1) // Pi/4 ~= 0.78539816339