atan Summary Get the arctangent of a number. Usage public static double atan(double x) Returns The arctangent of the number in radians. The returned value will be between -π/2 and π/2. Parameters x The number to get the arctangent of. Description Returns the arctangent for a number in radians. Examples Basic Usage 1234import System; Console.log(Math.atan(0)); // 0Console.log(Math.atan(1)); // 0.7853981633974483 Share HTML | BBCode | Direct Link