nextDouble

fun RandomGenerator.nextDouble(from: Double, to: Double): Double

Generate a random double between the given bounds.

Parameters

from
    the lower bound.
to
    the upper bound.