LOADING STUFF...

PHP:mt_getrandmax()的用法_Math函数

技术教程3小时前更新 北陌
20 0 0

PHP:mt_getrandmax()的用法_Math函数

mt_getrandmax

(PHP 4, PHP 5)

mt_getrandmax — 显示随机数的最大可能值

说明

int mt_getrandmax
( void
)

返回调用
mt_rand() 所能返回的最大的随机数。

返回值

返回调用
mt_rand() 所能返回的最大的随机数。

范例

Example #1 计算一个随机浮点数

function

© 版权声明

相关文章

暂无评论

暂无评论...