Calculates the arc tangent (inverse tangent) of a value. The result is in radians, ranging from -π/2 to π/2.
DOUBLEDiperbarui: 13 Jun 2026ATAN(x)A numeric value (unbounded)
1 SELECT ATAN(0) AS atan_0;
Arc tangent of 0.
1 SELECT DEGREES(ATAN(1)) AS angle_deg;
Arc tangent of 1 equals 45 degrees.
1 SELECT DEGREES(ATAN(rise / run)) AS slope_angle 2 FROM ramps 3 WHERE run > 0;
Calculates the slope angle from rise and run.
Sudah paham ATAN? Latih langsung di browser
Latihan interaktif, langsung di browser.
DEGREES