MathObject.sin(Double) 方法

定义

计算指定角度的正弦值。Calculates the sine of the specified angle.

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

x
Double

以弧度计量的角度。An angle, measured in radians.

返回

Double

x 的正弦值。The sine of x.

属性

适用于

另请参阅