Decimal Math.Tan Method
Returns the tangent of the specified angle.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
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.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static decimal Tan(
decimal angle
)
Parameters
- angle Decimal
- An angle, measured in radians.
Return Value
DecimalThe tangent of angle. If angle is equal to System.Double.NaN, System.Double.NegativeInfinity, or System.Double.PositiveInfinity, this method returns System.Double.NaN.