MathObject.tan(Double) Method

Definition

Calculates the tangent of the specified angle.

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

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

Parameters

x
Double

An angle, measured in radians.

Returns

The tangent of x.

Attributes

Applies to

See also