nextDouble

fun nextDouble(min: Double, max: Double): Double

Returns the next pseudo-random double, distributed between min and max.

Return

the random number between min and max

Parameters

min

the minimum bound

max

the maximum bound

fun nextDouble(): Double

Returns the next pseudo-random double.

Return

the next pseudo-random, a value between 0.0 and 1.0.