Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
Math.PI 정적 데이터 속성은 원의 둘레와 지름의 비율, 약 3.14159의 값을 가집니다.
| 쓰기 가능 | 불가능 |
| 열거 가능 | 불가능 |
| 설정 가능 | 불가능 |
PI는 Math의 정적 속성이므로, 사용자가 생성한 Math 객체의 속성으로 접근할 수 없고 항상 Math.PI를 사용해야 합니다. (Math는 생성자가 아닙니다)
다음 함수는 Math.PI를 사용해 주어진 원의 반지름에서 둘레를 계산합니다.
| ECMAScript® 2027 Language Specification # sec-math.pi |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.