Hi, I have a button - as an image of a dice. When i click it is gives a random number between 1 and 6 in a dynamic text box. But at the moment it gives number 0 too. This obvioulsy won;t work as a dice doesn;t have a 0.
I am using
on (press) {
display=Math.round(Math.random()*6;
}
Is there anyway to change this to make it not include 0?
thanks
lesley