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.6246658450901521
Double r2 = randSec(); // r2 == 0.2408913460531723
Double r3 = randSec(); // r3 == 0.15492949136706213
|