SQL/MX 3.x Reference Manual (H06.22+, J06.11+)
SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual—640322-001
9-125
RADIANS Function
RADIANS Function
The RADIANS function converts a numeric value expression expressed in degrees to
the number of radians.
RADIANS is an SQL/MX extension.
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of
the RADIANS function. See Numeric Value Expressions on page 6-52.
Examples of RADIANS
•
Return the value 7.85398150000000160E-001, or approximately 0.78540 in
degrees:
RADIANS (45)
•
Return the value 45 in degrees. The function DEGREES is the inverse of the
function RADIANS.
DEGREES (RADIANS (45))
RADIANS (numeric-expression)










