看板 Flash 關於我們 聯絡資訊
不好意思,想請問如果想要 亂數是在215到279之間跳 該怎麼寫才好呢? 我自己是寫 var num=Math.floor(Math.random()*??)+??; 但不曉得??該填甚麼數字才好 -- Sent from my Android -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 101.10.116.126
s41257:var num=Math.floor(Math.random()*(279-215+1))+215 02/07 21:51
stu89353:謝謝>"< 02/07 23:35