会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
提升自己,迎接未来
阅读优秀代码是提高开发人员修为的一种捷径
博客园
首页
新随笔
联系
管理
2019年8月3日
js 运算的内置函数
摘要: // 一、Math.round()作用:四舍五入返回整数。(返回参数+0.5后,向下取整) // Math.round(5.57) //返回6 // Math.round(2.4) //返回2 // Math.round(-1.5) //返回-1 // Math.round(-5.8) //返回-6
阅读全文
posted @ 2019-08-03 14:32 Sam Xiao
阅读(1003)
评论(0)
推荐(0)
编辑
公告