JavaScript Reference/Javascript Properties/PI
"PI" Example
<html>
<body>
<button onclick="alert(Math.PI);">Math.PI</button>
</body>
</html>
"PI" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Math |
+----------------+--------------------------------------------------------------+
"PI" Syntax and Note
Note:
Read-only property.
The value of pi.
Syntax:
Math.PI