randomize integers CODAP › Forums › CODAP Help Forum › randomize integers Search for: Tagged: integers, random This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months ago by Bill Finzer. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts July 20, 2018 at 4:30 pm #602 Score: 0 Kristyn WaltersParticipant When you are using the random(), is there a way to set it so it randomizes only integers? July 20, 2018 at 6:38 pm #603 Bill FinzerKeymaster Hi Kristyn, Here’s a formula that will produce integers from zero to nine: floor(random(0,10)) And if you want them to go from one to ten: ceil(random(0,10)) Of course you can change the zero and ten to anything you want. Bill Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘CODAP Help Forum’ is closed to new topics and replies.