HH\Lib\SecureRandom\float
Requires the Hack Standard Library to be installed.
Facebook Engineer?
This function is available as SecureRandom\float()
in Facebook's www repository.
Returns a cryptographically secure random float in the range from 0
namespace HH\Lib\SecureRandom;
function float(): float;
0 to 1.0, inclusive.
For pseudorandom floats, see PseudoRandom\float
.
Returns
float