RedCrab Calculator
 



Rnd - returns a random integer number

  • Returns a random integer number or a list of numbers
Syntax
  • Rnd (max)
    • Returns a integer number greater than or equal to zero and less than max
  • Rnd (len, max)
    • Returns a list of len integer numbers, greater than or equal to 0 and less than max
  • Rnd (len, min, max)
    • Returns a list of len integer numbers, greater than or equal to min and less than max
  • Rnd ( [Max, Max, Max, Max] )
    • Initialise a list with integer numbers greater than or equal to 0 and less than max value
See also:

URnd for lists with different random numbers
Rndf
for floating point random numbers

 
   
Abs Absolute value of a number
DTime DateTime value
DTimef data field of date and time values
Max Greatest value of two numbers
Min Smallest value of two numbers
Power Returns x to the power y
Rnd Random integer numbers
Rndf Random floating point numbers
Round Rounded to the whole number
Sign Indicating the sign of a number
Sqr Square of the argument
Sqrt Square root of the argument
URnd Different random integer numbers
Operators
Div Integer number division
Mod Remainder of an integer division
   
           
  Products RedCrab Calculator RedCRab Manual  
      RedCrab Software - Singapore - Sengkang West Way