Returns the inverse tangent of dy/dx in degrees, from -180 to +180. The sign of the arguments are used to determine the quadrant of the resulting angle.
atan2 ( dx As Number, dy As Number ) As Number
Argument | Type | Description |
---|---|---|
dx | Number | |
dy | Number |
Intent >atan2(1,-1) --> -45.0
Intent >atan2(-1,1) --> 135.0