on TI 82 i use round(rand(lowerbound,upperbound)number of decimal places) the last value is 0 if you want an integer Dave Browne Alpaca2500@aol.com "Cuidado Las Llamas"