摘要: Math.ceil()向上取整 Math.floor()向下取整 Math.round() 四舍五入 Math.pow(n,x);n的x次方 Math.random()获取随机数0-1 [0,1) Math.Max() 第一步: 先定义一个变量, 接收字符串 var str='1234567890A 阅读全文
posted @ 2018-08-04 22:25 suri&zh 阅读(213) 评论(0) 推荐(0)