JavaScriptのMath.randomが返すのは、[0, 1)。

agwagw のブックマーク 2011/06/14 14:59

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Math.random() - JavaScript | MDN

    The Math.random() static method returns a floating-point, pseudo-random number that's greater than or equal to 0 and less than 1, with approximately uniform distribution over that range — which you...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう