Skip to content
Reference > Methods

randSec()

Definition

Double randSec()

Description

Returns a random Double between 0.0 (inclusive) and 1.0 (exclusive), this is secure.

Examples

1
2
3
Double r1 = randSec(); // r1 == 0.2050508605543695
Double r2 = randSec(); // r2 == 0.23380716901286758
Double r3 = randSec(); // r3 == 0.604459238744959