The ratio of the circumference of a circle to its diameter, approximately 3.14159.
Property of Math
Static, Read-only
Examples
The following function returns the value of pi:
Description
Because PI is a static property of Math, you always use it as Math.PI, rather than as a property of a Math object you created.