Return the tangent of a given number. The value passed in this function should be in radians.
This function does not generate a change.
tan(number)
Argument | Type | Description |
---|---|---|
number | int/float (required) | Input number |
Returns with a float, the tangent of value passed as argument.
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"