nextDouble

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

Generate a random double between the given bounds.

Parameters

from
the lower bound.
to
the upper bound.