Atan2                                                                                                        Function

 

ATAN2(x as float, y as float)

 

Description

Returns a float with the arc-tangent of the arithmetic expression of x divided by y. The result of x/y must be an angle in radians.

 

Example

 

x=Atan2(x, y) 'will result in the arc-tangent of the angle of x/y