This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Basic types > General methods for numbers > atan2(y,x)


Arc tangent of rectangular coordinates x and y in the range of -PI to PI in radians.

Special cases:

The result of the calculation must correspond to the exact result down to the last two decimal places. The results must be semi-monotonic.

Arguments Integer/Double y Coordinate
Integer/Double x Coordinate
Return value Double