Returns the value of the mathematical constant pi.

Math.PI

Required. The global Math object.

The PI property is a constant approximately equal to 3.14159. It represents the ratio of the circumference of a circle to its diameter.

Version 1

Math Object