JavaScript中的Math 使用介绍


复制代码 代码如下:

Math.pow(2,53) //=>9007199254740992: 2 的53次幂
Math.round(.6) //=>1.0: 四舍五入


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3