Skip to main content

Overview

This function returns the arctangent of a given number.

Parameters

atan2(y, x)
  • Y: The y-coordinate.
  • X: The x-coordinate.

Example

atan2(1, 1)
Returns 0.785398 (π/4 radians or 45 degrees).
I