PI Property
The document is archived and information here might be outdated

PI Property

Returns the value of the mathematical constant pi.

Math.PI

Math

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.

Show:
© 2016 Microsoft