The DEGREES function returns the number of degrees of the argument which is an angle expressed in radians.
If the data type of the argument is DECFLOAT(n), the result is DECFLOAT(n). Otherwise, the data type of the result is double-precision floating point. If the argument can be null, the result can be null; if the argument is null, the result is the null value.
SELECT DEGREES(:RAD) FROM SYSIBM.SYSDUMMY1Returns the approximate value 180.0.