ATAN2 Type: verb (function) Use: To find the angle of a vector given the Y and X coordinates. The result is in degrees. Grammer: ATAN2 (value1,value2) Example: ATAN2(-1.0,0.0) Find the angle of vector (0.0,-1.0) i.e., -90 degrees.