JavaScript: The Definitive Guide

24.118. Math.PI: the mathematical constant π

ECMAScript v1

24.118.1. Synopsis

Math.PI

24.118.2. 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.

Категории