- Categorias:
Funções numéricas (Trigonométrico)
TAN¶
Calcula a tangente de seu argumento; o argumento deve ser expresso em radianos.
Sintaxe¶
TAN( <input_expr> )
Argumentos¶
input_exprThe value or expression to operate on. The value must be in radians, not degrees. The data type must be FLOAT.
Retornos¶
This function returns a value of type FLOAT.
Exemplos¶
SELECT TAN(0), TAN(PI()/3), TAN(RADIANS(90));
+--------+-------------+----------------------+
| TAN(0) | TAN(PI()/3) | TAN(RADIANS(90)) |
|--------+-------------+----------------------|
| 0 | 1.732050808 | 1.63312393531954e+16 |
+--------+-------------+----------------------+