Returns the tangent.
| Category: | Trigonometric |
| Returned data type: | DOUBLE |
specifies any valid SQL expression that evaluates to a numeric value.
| Restriction | expression cannot be an odd multiple of π /2 |
| Requirement | The expression must evaluate to a value in radians. |
| Data type | DOUBLE |
| See | <sql-expression> |
| FedSQL Expressions |
|
Statements
|
Results
|
|---|---|
select tan(0.5); |
0.546302 |
select tan(3.14159/3); |
1.732047 |