normal

int normal(int min, int max, int mean, int sd)
long normal(long min, long max, long mean, long sd)
double normal(double min, double max, double mean, double sd)

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