study guides for every class

that actually explain what's on your next test

Math.PI

from class:

AP Computer Science A

Definition

Math.PI is a constant in the Math object of JavaScript that represents the ratio of the circumference of a circle to its diameter. It is approximately equal to 3.14159.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.