Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > A

ATAN2

Scroll Prev Top Next More

(ATAN2(x,y))

 

Computes the arctangent of x/y. The result is the angle in radians between -pi/2 and pi/2.

 

In the following example, the value of vatan2 is 0.7854.

 

SET VAR vatan2 = (ATAN2(1,1))