JavaScript中的Math 使用介绍

  技术百科     |      2026-01-17 22:56

复制代码 代码如下:
Math.pow(2,53) //=>9007199254740992: 2 的53次幂
Math.round(.6) //=>1.0: 四舍五入