Get Tangent Method

The Get Tangent method returns the tangent of the value that the number argument contains. If it cannot convert the value that the number argument contains, then it returns the following value:

NaN

Format

Math.tan(number)

The following table describes the arguments for the Get Tangent method.

Argument Description

number

A numeric expression that contains the number of radians in the angle whose tangent this method returns.