摘要: 浮点数转换成整数方法有很多,本例为大家介绍常用的三个方法,如果读者想到其他好用方法,也可以交流一下 Summary 暂时我就想到3个方法而已。如果读者想到其他好用方法,也可以交流一下 parseInt 位运算符 Math.floor Math.ceil Description 一、parseInt 阅读全文
posted @ 2015-05-27 16:26 Twang 阅读(14561) 评论(0) 推荐(0)