Redigera

Dela via


MathObject.acos(Double) Method

Definition

Calculates the inverse cosine of the specified number.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static double acos(double x);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_acos)]
public static double acos (double x);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_acos)]
public static double acos (double x);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Math_acos)>]
static member acos : double -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Math_acos)>]
static member acos : double -> double
Public Shared Function acos (x As Double) As Double

Parameters

x
Double

The number to calculate the inverse cosine of.

Returns

The inverse cosine of x, measured in radians.

Attributes

Applies to

See also