End of support notice: On December 15, 2025, Amazon will end support for Amazon IoT Analytics. After December 15, 2025, you will no longer be able to access the Amazon IoT Analytics console, or Amazon IoT Analytics resources. For more information, visit this Amazon IoT Analytics end of support.
atan2(Decimal, Decimal)
Returns the angle, in radians, between the positive x-axis and the (x, y) point defined in
the two arguments. The angle is positive for counter-clockwise angles (upper half-plane, y >
0), and negative for clockwise angles
Decimal
arguments are rounded to double precision before function
application.
Examples: atan(1, 0)
= 1.5707963267948966
Argument type | Argument type | Result |
---|---|---|
|
|
|
|
|
|
Other Value |
Other Value |
|