跳到主要内容

math.random_one

随机生成一个(0~1)的浮点数

声明

float math.random_one()

参数

参数名描述

返回值

随机浮点数

使用方式

返回文档