摘要: Math.ceil(); //向上取整。 Math.floor(); //向下取整。 Math.round(); //四舍五入。 Math.random(); //0.0 ~ 1.0 之间的一个伪随机数。【包含0不包含1】 //比如0.8647578968666494 Math.ceil(Math. 阅读全文
posted @ 2016-09-19 13:56 异地大光码 阅读(317) 评论(0) 推荐(0) 编辑