Returns the number of degrees for an angle in radians.
Category: | Trigonometric |
Returned data type: | DOUBLE |
specifies any valid expression that evaluates to an angle specified in radians.
Data type | BIGINT, DOUBLE, FLOAT, INTEGER, REAL, SMALLINT, TINYINT. |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select degrees(2*pi()); |
360 |
select degrees(pi()); |
180 |
select degrees(pi()/2); |
90 |
select degrees(pi()/4); |
45 |