PIbeginner// Pi β ratio of circumference to diameter
Math.PI // β 3.1415926535...
2 * Math.PI // β 6.2831... (full circle in radians)Use Math.PI when calculating circle circumferences, areas, or converting between degrees and radians.
The ratio of a circle's circumference to its diameter, approximately 3.141592653589793.
Challenge: Explore the value of Math.PI and verify its type and range.