在线文档教程
PHP
数学 | Mathematics

stats_rand_gen_funiform

stats_rand_gen_funiform

(PECL stats >= 1.0.0)

stats_rand_gen_funiform — Generates uniform float between low (exclusive) and high (exclusive)

Description

float stats_rand_gen_funiform ( float $low , float $high )

Returns a random deviate from the uniform distribution from low to high.

Parameters

low

The lower bound (inclusive)

high

The upper bound (exclusive)

Return Values

A random deviate

← stats_rand_gen_f

stats_rand_gen_gamma →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-rand-gen-funiform.php