tan()
returns the tangent of a number.
Syntax: tan(expression)
Returns: A Float.
Arguments
Name | Description |
expression | A numeric expression that represents the angle in radians. |
Example
RETURN tan(1)
The value returned will be the tangent of 1 radians, which is 1.5574077246549023.
Considerations
tan(null)
returnsnull
.
Example
RETURN tan(0.341)
Returns the following Result
tan(0.341) |
0.35486240633404875 |
Example
RETURN tan(-1.4)
Returns the following Result
tan(-1.4) |
-5.797883715482887 |
Example
RETURN tan(0)
Returns the following Result
tan(0) |
0.0 |
Example
RETURN tan(null)
Returns the following Result
tan(null) |
null |
Note– tan(null)
returns null
.