This is my first post and I must say that I have been very impressed with CourseLab

. I have found the Math.random() function very useful however I have had to use 10 IF statements to get random numbers from 0 to 9. I now want to do random integers from 0 to 99 and obviously writing out 100 IF statements is not appealing. Is there a round or integer function I can use? I tried using % for remainder (as described in the help files) but couldn't get it to work at all. Java has a round function but does Courselab? Any ideas gratefully received.