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.7476203933578913
Double r2 = randSec(); // r2 == 0.12996006420397976
Double r3 = randSec(); // r3 == 0.8343509943711747
|