parseInt(5/2) =2
Math.round(5/2) =3
Math.floor(5/2) =2
Math 对象的方法
jquery 四舍五入小数处理总结
原文:https://www.cnblogs.com/newcapecjmc/p/11994213.html