The PI property returns the ratio of a circle's area to the square of its radius, approximately 3.14
![]()
The PI property is supported in all major browsers.
| Return Value: | A Number, representing PI |
|---|---|
| JavaScript Version: | 1.0 |
JavaScript Math Object
Your message has been sent to W3Schools.