函数:mt_getrandmax()


mt_getrandmax

乱数的最大值。

语法: int mt_getrandmax(void);

返回值: 整数

函数种类: 数学运算

内容说明

本函数计算乱数函数 mt_rand() 可能取得的取得的最大乱数值。本函数不需参数。

参考

rand()  srand()  getrandmax()  mt_srand()  mt_rand()  



[ 上一页 PHP 手册 下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序