PI

 

The function PI returns the trigonometric constant pi (π).

SQL Syntax:
 
   PI()
Escape Syntax:
 
  {fn PI()}
Return Type:
 
  FLOAT
     

Examples:

  • SELECT PI(), {fn pi()}

    Returns: 3.141592653589793, 3.141592653589793

see also:
SQL Numeric Functions
DEGREES
RADIANS


100% pure Java DBMS
Mirror Site