tan

Return the tangent of a given number. The value passed in this function should be in radians.

This function does not generate a change.

Function

tan(number)

Arguments

Argument Type Description
number int/float (required) Input number

Return value

Returns with a float, the tangent of value passed as argument.

Example

tan() function example:

`The value of tangent of pi / 6 is {tan(MATH_PI / 6)}`

Return value in JSON format

"The value of tangent of pi / 6 is 0.57735"