Jump to: navigation, search

Random

Random

Random.Number(inMin As Integer, inMax As Integer) As Integer
  • Description=Returns a whole number from inMin to inMax.
Values
  • inMin=The minimum value.
  • inMax=The maximum value.
  • Returns=The number rolled.
  • Example=Random.Number(1,100)


Random.NumberDouble(one As Double, two As Double) As Double
  • Description=Returns a decimal number from one to two. I.E. if 'one' was 0.5, and 'two' was 2, you could roll a 0.542. Rounded to the third decimal point maximum.
Values
  • one=The minimum value. Can use decimal points.
  • two=The maximum value. Can use decimal points.
  • Returns=The number rolled, up to three decimal points long.
  • Example=Random.NumberDouble(0.5, 0.7)