1.Math.PI; 圆周率的值:3.14;
2.Math.E; 自然常数e的值:2.71;
3.Math.LN2; 对数;
4.Math.abs(); 绝对值;
5.Math.random(); 获得一个0-1之间的随机数;
6.Math.exp(2); 指数;
7.Math.sin(弧度); 三角函数sin值;
8.Math.max(); 求最大值;
9.Math.sqrt(); 开方;
10.Math.round(); 四舍五入;
1.Math.PI; 圆周率的值:3.14;
2.Math.E; 自然常数e的值:2.71;
3.Math.LN2; 对数;
4.Math.abs(); 绝对值;
5.Math.random(); 获得一个0-1之间的随机数;
6.Math.exp(2); 指数;
7.Math.sin(弧度); 三角函数sin值;
8.Math.max(); 求最大值;
9.Math.sqrt(); 开方;
10.Math.round(); 四舍五入;