RADIANS

 

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

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

Examples:

  • SELECT RADIANS(180), {fn radians(0)}

    Returns: 3.141592653589793, 0

see also:
SQL Numeric Functions
DEGREES


100% pure Java DBMS
Mirror Site