摘要: Math方法 1. Math.round(): 四舍五入 Math.round(2.5); // 3 Math.round(2.4); // 2 2. Math.random(): 0 ~ 1 之间的随机数 Math.random(); //0.5214744192115168 Math.rando 阅读全文
posted @ 2024-12-05 09:20 heshanwan 阅读(76) 评论(0) 推荐(0)