DecimalMath.Tan Method

Returns the tangent of the specified angle.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static decimal Tan(
	decimal angle
)

Parameters

angle  Decimal
An angle, measured in radians.

Return Value

Decimal
The tangent of angle. If angle is equal to System.Double.NaN, System.Double.NegativeInfinity, or System.Double.PositiveInfinity, this method returns System.Double.NaN.

See Also