描述: 取得一个随机数 语法: rand(n) 备注: 取得0到n-1之间的一个随机整数 参数: n 整数,缺省时返回一个0到1.0之间的随机浮点数 选项: @s 设置随机数种子 返回值: 数值型 示例: rand() 获得[0, 1.0]取得,随机数