.atan()

# .atan()

Description

atan() is a method that returns the arctangent (inverse tangent) of a number — that is, the angle whose tangent is the number.

Parameters

atan() takes no parameters.

Usage On Numbers

log (0.5).atan()
// returns 0.4636476090008061
// (0.4636476090008061).tan() === 0.5

Last updated

Was this helpful?