javascript Math方法

2018-10-15  本文已影响5人  箫筱乐

1.Math.ceil() 对上舍入
2.Math.floor() 对下舍入
3.Math.random() 0-1之间的小数
4.Math.round() 四舍五入
5.Math.abs() 绝对值
6.Math.acos() 反余弦值
7.Math.asin() 反正弦值
8.Math.cos() 余璇
9.Math.sin() 正璇
10.Math.sqrt() 平方根

上一篇下一篇

猜你喜欢

热点阅读