Javascript Math Object
A JavaScript Math object provides no. of properties and methods for performing mathematical operations. Math is not a constructor and all the properties and methods of Math are static. Example: <script> var num = Math.random(); var squarRoot = Math.sqrt(num ) ; document.write(“Random Number: ” + num + “</br>”); document.write(“Square root: ” + squarRoot ); </script> … Read more