digitrick Labs
Index > Math > 指定範囲の乱数
乱数 : R 最小値 : MIN 最大値 : MAX
R = Math.floor(Math.ramdom() * (MAX - MIN + 1)) + MIN
カテゴリ:Math
タグ:*数式
Post at 2008年06月30日 18:35
▲ このページのトップへ
Powered by Movable Type 4.27-ja
Hosted by heteml
©1997-2009 digitrick.net