The PI function returns the π value of type DOUBLE.
PI()
SELECT PI(), PI()/2;
pi() pi()/2
====================================================
3.141592653589793e+00 1.570796326794897e+00