目录

PI

圆周长与直径之比约为3.14159。

语法 (Syntax)

Math.PI 

例子 (Example)

console.log(Math.PI)  
// the ratio of a circle's circumference to its diameter: ~3.142           

输出 (Output)

3.141592653589793            
↑回到顶部↑
WIKI教程 @2018