normal

open fun normal(min: Int, max: Int, mean: Int, sd: Int): Int
open fun normal(min: Long, max: Long, mean: Long, sd: Long): Long
open fun normal(min: Double, max: Double, mean: Double, sd: Double): Double

Randomly generates a value normally distributed in the range of [min, max] with the specified mean and standard deviation

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

mean

the mean

sd

the sd