tan

Calculates the tangent of an angle that is entered in radians.

tan(number) → returns Numeric

Argument Reference for the tan function

number

Required: Yes
Angle, in radians, for which to calculate the tangent

Examples sample code invoking the tan function


Tangent of 0.3

tan(0.3)

Expected Result: 0.30933624961


Fork me on GitHub