Commandsatan2On this pageatan2 atan2 (y1, x1) The atan2 function returns the angle in radians whose tangent is y1 ÷x1. Results are in the range -π to π. See Also tan, atan