ACos()

Syntax

Result.f = ACos(Value.f)
Description
Returns the arc-cosine of the specified value.

Parameters

Value.f The input value. It must be between -1 and 1 (-1 and 1 included).

Return value

Returns the resulting angle in radian. It can be transformed into degrees using the Degree() function.

Remarks

This is the inverse function of Cos(). This function can handle float and double values.

Example

  Debug ACos(1)  ; will display '0'
  Debug Acos(-1) ; will display 'pi' (approximately 3.14159)

See Also

Cos(), ACosH(), Degree()

Supported OS

All

Math Index - ACosH() ->