目录

randu

此方法返回0到1之间的伪随机数。

语法 (Syntax)

randu() 

参数 (Parameters)

没有

返回值 (Return Value)

返回0到1之间的伪随机数。

例子 (Example)

/* Main program */ 
options arexx_bifs 
say randu() 

当我们运行上述程序时,我们将得到以下结果。

输出 (Output)

0.396464774
↑回到顶部↑
WIKI教程 @2018