Use JS produce a range number

Math.round( (your_start_num)*Math.random() + yourEndNum)

你可能感兴趣的:(Use JS produce a range number)