acos()

Returns the angle, in radians, whose cosine is the specified radian expression. This is also called arccosine.

Syntax

acos(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 acos=acos(0.866158094405463)
  => 0.5233333333333333 (30 * 3.14 / 180)

json "{}" | eval acos=acos(1) => 0

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