Scalar FunctionsMath Functions
atan2
Returns the angle (in radians) between the positive x-axis and the point (x, y).
Syntax
atan2(y, x)Parameters
Prop
Type
Returns: real
Examples
Example 1
print atan2(1, 1)| print_0 (real) |
|---|
| 0.7853981633974483 |
Returns the angle (in radians) between the positive x-axis and the point (x, y).
atan2(y, x)Prop
Type
Returns: real
print atan2(1, 1)| print_0 (real) |
|---|
| 0.7853981633974483 |