略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: stats_rand_ranf

2024-12-24

stats_rand_ranf

(PECL stats >= 1.0.0)

stats_rand_ranfGenerates a random floating point number between 0 and 1

说明

stats_rand_ranf ( void ) : float

Returns a random floating point number from a uniform distribution between 0 (exclusive) and 1 (exclusive).

返回值

A random floating point number

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.stats-rand-ranf.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3