Icon ArcTan2

Unit: Internal

Available In: Client and Server Applications

function ArcTan2(Y, X: Double): Double

function ArcTan2(Y, X: Integer): Double

The ArcTan2 function returns a value between -Pi and Pi radians that specifies the counter-clockwise angle between the positive X axis and the point represented by the X and Y input parameters.

Examples

X := ArcTan2(100,3000);  // X is 0.033320995878247196
Image