JavaScript PI-eigenschap
- Previous page min()
- Next page pow()
- Return to the previous level JavaScript Math Referentiemanual
Definitie en gebruik
PI
Het attribuut is π, dat is het verhoudingsgetal van de omtrek van een cirkel tot zijn doorsnede. Deze waarde benaderd 3.141592653589793.
Syntax
Math.PI
Technische details
Terugkeerwaarde: | Getal, dat PI representeren. |
---|---|
JavaScript versie: | ECMAScript 1 |
Browser support
Math.PI
Is an ES1 feature (JavaScript 1999). All browsers fully support it:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Support | Support | Support | Support | Support | Support |
Related pages
Tutorial:JavaScript mathematics
- Previous page min()
- Next page pow()
- Return to the previous level JavaScript Math Referentiemanual