Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

getting the value of pi in javascript

<html>  
   <head>
      <title>JavaScript Math PI Property</title>
   </head>
   
   <body>      
      <script type = "text/javascript">
         var property_value = Math.PI
         document.write("Property Value is : " + property_value); 
      </script>   
   </body>
</html>
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #pi #javascript
ADD COMMENT
Topic
Name
7+1 =