Name
Math.PI — the mathematical constant π
Availability
JavaScript 1.0; JScript 1.0; ECMAScript v1
Synopsis
Math.PI
Description
Math.PI
is the constant π or pi, the ratio of
the circumference of a circle to its diameter. It has a value of
approximately 3.14159265358979.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.