Chapter 4: SQL Language Elements
4.9.2.29 DEGREES function (ODBC compatible)
Syntax
DEGREES ( expression )
Description
The scalar function DEGREES returns the number of degrees in an angle specified in radians by expression.
Example
SELECT DEGREES(3.14159265359) 'Degrees in pi Radians'
FROM SYSTPE.SYSCALCTABLE;
Notes
- expression specifies an angle in radians
- expression must evaluate to a numeric data type.