Edit

Share via


WorksheetFunction.Acos(Double) Method

Definition

Returns the arccosine, or inverse cosine, of a number. The arccosine is the angle whose cosine is Arg1. The returned angle is given in radians in the range 0 (zero) to pi.

public:
 double Acos(double Arg1);
public double Acos (double Arg1);
Public Function Acos (Arg1 As Double) As Double

Parameters

Arg1
Double

The cosine of the angle you want and must be from -1 to 1.

Returns

Remarks

If you want to convert the result from radians to degrees, multiply it by 180/PI() or use the Degrees method.

Applies to