How to get the math PI value in JavaScript

1 Answer

0 votes
<!DOCTYPE html>
<html>
<head>  
</head>
<body>
<script>
document.writeln(Math.PI)
</script
</body>
</html>

<!--
run:

3.141592653589793 

-->

 



answered Dec 15, 2015 by avibootz
edited Feb 4, 2016 by avibootz

Related questions

2 answers 1,143 views
1 answer 192 views
1 answer 167 views
2 answers 255 views
1 answer 226 views
...