uniform

open fun uniform(min: Int, max: Int): Int
open fun uniform(min: Long, max: Long): Long
open fun uniform(min: Double, max: Double): Double

Randomly generates a value uniformly distributed in the range of [min, max]

Return

a random value in the range of min to max, this value will always be the same given the same seed

Parameters

min

the min value

max

the max value