See the SImpleNumber helpfile:randRandom number from zero up to the receiver, exclusive.rand2Random number from -this to +this.rand excludes the receiver, rand2 includes it.