util.Math.atan2
Computes the principal value of the arc tangent of y/x
Syntax
util.Math.atan2(
y FLOAT,
x FLOAT )
RETURNS FLOAT
- y is a floating point decimal value.
- x is a floating point decimal value.
Usage
This function calculates the principal value of the arc tangent of y/x, using the signs of the two arguments to determine the quadrant of the result.
The function returns NULL
, if one of the provided arguments is invalid.