math module · Scalar Function
math::atan2
Compute the two-argument arctangent, returning the angle in radians between the positive x-axis and the point (x, y).
Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
y | Number | The y-coordinate |
x | Number | The x-coordinate |
Return Value
Returns a Number representing the angle in radians.
Examples
$ Calculate two-argument arctangent
