__Angle__ **= ATan2 (** __Y__ **,** __X__ **)**
__Angle__ **= Atn2 (** __Y__ **,** __X__ **)**

This function computes the arc tangent of the two variables __X__ and __Y__. It is similar to calculating the arc tangent of __Y__ / __X__, except that the signs of both arguments are used to determine the quadrant of the result.

The function returns the result in radians, which is between -π and π (inclusive).

This is the same function as Ang *except that the arguments are inverted*.

Deg(ATan2(1,-1))

```
135
```