DEGREES

 

The function DEGREES convert an angle in radians in a angle in degrees. This function can be used together with the other trigonometric functions.

SQL Syntax:
 
   DEGREES( number )
Number:
 
  Any numeric expression.
Escape Syntax:
 
  {fn DEGREES( number )}
Return Type:
 
  FLOAT
     

Examples:

  • SELECT DEGREES(PI()/2), {fn degress(0)}

Returns: 90, 0

see also:
SQL Numeric Functions
RADIANS


100% pure Java DBMS
Mirror Site