Return a random int.
If a max = null, then the returned integer will be in the range of 0 to minOrMax.
max = null
minOrMax
Otherwise the returned value is in the range of minOrMax to max.
max
Use sign to also return a random sign (negative or positive);
sign
random integer
Return a random int.
If a
max = null, then the returned integer will be in the range of 0 tominOrMax.Otherwise the returned value is in the range of
minOrMaxtomax.Use
signto also return a random sign (negative or positive);