commonMain.ru.casperix.math.random.RandomDouble.kt Maven / Gradle / Ivy
package ru.casperix.math.random
import kotlin.random.Random
fun Random.nextDouble(range: ClosedRange): Double {
return nextDouble(range.start, range.endInclusive)
}