Reference > Methods
randSec()
Definition
Double randSec()
Description
Returns a random Double between 0.0 (inclusive) and 1.0 (exclusive), this is secure.
Examples
| Double r1 = randSec(); // r1 == 0.2718114405077855
Double r2 = randSec(); // r2 == 0.569665475182532
Double r3 = randSec(); // r3 == 0.5188012314220392
|