function GetRandomNum(Min,Max){
var Range = Max – Min;
var Rand = Math.random();
return(Min + Math.round(Rand * Range));
}
var num = GetRandomNum(10,99);
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/17359.html
function GetRandomNum(Min,Max){
var Range = Max – Min;
var Rand = Math.random();
return(Min + Math.round(Rand * Range));
}
var num = GetRandomNum(10,99);
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/17359.html