WorksheetFunction.Acos 方法 (Excel)WorksheetFunction.Acos method (Excel)

返回的反余弦值或一个数的反余弦值。Returns the arccosine, or inverse cosine, of a number. 反余弦值是其余弦值为_Arg1_的角度。The arccosine is the angle whose cosine is Arg1. 返回的角度提供以弧度表示范围 0 (零) 到 pi。The returned angle is given in radians in the range 0 (zero) to pi.

语法Syntax

expressionexpression. Acos( _Arg1_ )

_表达式_一个代表WorksheetFunction对象的变量。expression A variable that represents a WorksheetFunction object.

参数Parameters

名称Name 必需/可选Required/Optional 数据类型Data type 说明Description
Arg1Arg1 必需Required DoubleDouble 所需角度的余弦值,必须介于 -1 到 1 之间。The cosine of the angle you want and must be from -1 to 1.

返回值Return value

DoubleDouble

说明Remarks

如果要将结果从弧度转换为度,则请将结果乘以 180/PI(),或者使用 Degrees 方法。If you want to convert the result from radians to degrees, multiply it by 180/PI() or use the Degrees method.

另请参阅See also

WorksheetFunction 对象WorksheetFunction Object