The PI()
function returns the value of Pi.
Figure 1 shows a visual representation of the PI()
function.
PI()
The PI()
function does not require a parameter.
The PI()
function returns the value of Pi.
By default, the
PI()
function returns a value of Pi of up to 6 decimal places.
-- simple PI() upto 6 decimal placesSELECT PI();-- increase the number of decimal places to 10SELECT PI() + 0.0000000000;