Thanks for the tip...yes rand()%10 + '0' works