' L'oggetto Math JavaScript consente di eseguire attivita' matematiche sui numeri.
https://www.w3schools.com/js/tryit.asp?filename=tryjs_math_pi <!DOCTYPE html> <html> <body> <h2>JavaScript Math.PI</h2> <p>Math.PI returns the ratio of a circle's circumference to its diameter:</p> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Math.PI; </script> </body> </html> |