SQL/MX 2.x Reference Manual (H06.04+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual540440-003
9-44
DEGREES Function
DEGREES Function
The DEGREES function converts a numeric value expression expressed in radians to
the number of degrees.
DEGREES is an SQL/MX extension.
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of
the DEGREES function. See Numeric Value Expressions on page 6-48.
Examples of DEGREES
This function returns the value 45 in degrees:
DEGREES (0.78540)
This function returns the value 45. The function DEGREES is the inverse of the
function RADIANS.
DEGREES (RADIANS (45))
DEGREES (numeric-expression)