TAN
Returns the tangent of the input expression.
Syntax​
TAN ( float_expression )
Arguments​
float_expression
Is an expression of type float or of a type that can be implicitly converted to float, interpreted as number of radians.
Return Type​
Returns values of type FLOAT64.
Examples​
Examples in this section use the example blockchain.
This example shows the results of using the TAN
function.
SELECT TAN(real) FROM example;
Response:
TAN(real) [FLOAT64]
NULL
0
1.557407724654902
-2.185039863261519