RND (Function)

Where  is a positive integer,   will return a random integer between   and   inclusive. (In particular,  will always return  .)

will always return.

Where  is a negative integer,   will return a random integer between   and   inclusive. (In particular,  will always return  .)

Where  is not an integer, it gets rounded down, then one of the rules above applies. (In particular,  does not generate an overflow error.  So, it is possible to get   as a result, but it is not possible to get  .)

generates.

generates.