--- rand([max=0])

    0 ʾ max ̤ϰϤȯޤ
    srand ƤФƤʤмưŪ
    srand ƤӽФޤ

    max  nil ޤ 0 ꤹ 0 ʾ 1 ̤
    μ¿ Float Ϳޤ

