PI Function

Description

The PI function returns the π value of type DOUBLE.

Syntax

PI()

Example

SELECT PI(), PI()/2;

     pi()                      pi()/2

====================================================

     3.141592653589793e+00     1.570796326794897e+00