atan()

Returns the angle, in radians, whose tangent is the specified radian expression. This is also called arctangent.

Syntax

atan(RADIAN_EXPR)
Required Parameters
RADIAN_EXPR
Radian expression. This function returns null when it receives an argument value that is not a number.

Usage

json "{}" | eval atan=atan(0.5769964003928729)
=> 0.5233333333333333 (30 * 3.14 / 180)

json "{}" | eval atan=atan(1.7299292200897902)
=> 1.0466666666666666 (60 * 3.14 / 180)

json "{}" | eval atan=atan(0) => 0

json "{}" | eval atan=atan("0") => null