JavaScript PI property
Definition and Usage
PI attribute is π, circumference of a circle and its diameter ratio. This value is approximately 3.14.
Browser Support
All major browsers support the PI attribute.
grammar
Math.PI
technical details
return value: | Back pi (approximately equal to 3.14159). |
---|---|
JavaScript version: | 1.0 |