acos()

Function group Execute on client Platform(s)
Trigonometric YES All

Syntax

acos(number)

Description

Returns the arc cosine of a number in the range 0 to 180 degrees (0 to pi radians if #RAD is true), or returns 0 if the number is not in the range -1 to 1.

Example

Calculate lResult as  acos(spr(2)/2)
# returns 45