Returns the number of degrees in an angle specified in radians by expression.

Syntax

DEGREES ( expression )

Notes

  • The expression specifies an angle in radians.
  • The expression must evaluate to a numeric data type.

Example

This example illustrates the DEGREES function:

SELECT DEGREES(3.14159265359) 'Degrees in pi Radians'
     FROM SYSPROGRESS.SYSCALCTABLE;

Compatibility

ODBC compatible