ES6 - Propriété Math-PI
Rapport de la circonférence d'un cercle à son diamètre, environ 3,14159.
Syntaxe
Math.PI
Exemple
console.log(Math.PI)
// the ratio of a circle's circumference to its diameter: ~3.142
Production
3.141592653589793
Rapport de la circonférence d'un cercle à son diamètre, environ 3,14159.
Math.PI
console.log(Math.PI)
// the ratio of a circle's circumference to its diameter: ~3.142
3.141592653589793