19 lines
571 B
Markdown
19 lines
571 B
Markdown
|
---
|
||
|
title: Math PI
|
||
|
---
|
||
|
## Math PI
|
||
|
|
||
|
``Math.PI`` is a static property of the Math object. It represents the mathematical constant defined as the ratio of a circle's circumference to its diameter. It is approximately 3.14149, and is often represented by the Greek letter π.
|
||
|
|
||
|
|
||
|
![pi made of pi](https://c1.staticflickr.com/2/1207/3352784321_0d648bec78.jpg)
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
```js
|
||
|
Math.PI \\ 3.141592653589793
|
||
|
```
|
||
|
|
||
|
#### More Information:
|
||
|
<a href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/PI' target='_blank' rel='nofollow'>MDN</a>
|