acos

Returns the angle whose cosine is the value passed as the argument.

acos(number) → returns Numeric

acos Argument Reference

number
Required

The value to be converted into an angle. Must be between -1 and 1.

Examples sample code invoking the acos function


Angle Cosine of 0.3

acos(0.3)

Expected Result: 1.266103672779


Fork me on GitHub