Rand
Return a random double between 0 and 1
Method Signature
Arguments
Argument
Type
Required
Description
Default
algorithm
string
false
The algorithm to use to generate the random number.
Examples
simple example Using rand()
To generate a random number between 0 to 1
simple example Using rand() with algorithm
To generate a random number between 0 to 1 by using bxmX_COMPAT algorithm
Additional Examples
Related
Last updated
Was this helpful?