TAN()
Description
The TAN() function returns the tangent of input number(given in radians).
Syntax
> SIN(number)
Arguments
Arguments | Description |
---|---|
number | Required. Any numeric data type supported now. |
Examples
> drop table if exists t1;
> create table t1(a int,b float);
> insert into t1 values(1,3.14159);
> insert into t1 values(-1,-3.14159);
> select tan(a),tan(b) from t1;
+---------+---------+
| tan(a) | tan(b) |
+---------+---------+
| 1.5574 | -0.0000 |
| -1.5574 | 0.0000 |
+---------+---------+
Constraints
Currently, MatrixOne doesn’t support select function() without from tables.