随机取整 By YLJ77 发表于 2017-04-15 文章目录 1234function fnRand(m,n) { var r = Math.round(Math.random()*(n-m) + m); return r;}