freeCodeCamp/guide/english/javascript/standard-objects/math/math-pi/index.md

571 B

title
Math PI

Math PI

Math.PI is a static property of the Math object. It represents the mathematical constant defined as the ratio of a circle's circumference to its diameter. It is approximately 3.14149, and is often represented by the Greek letter π.

pi made of pi

Examples

Math.PI \\ 3.141592653589793

More Information:

MDN