SQL/MX 2.x Reference Manual (G06.24+, H06.03+)
SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual—523725-004
9-48
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-50.
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)