javascriptランダム数値

 

25~-25

var randnum = (Math.random()*25)-25;

 

30~91

var randnum = 30 + Math.floor( Math.random() * 91 );