How to select a random number integer?

I can’t seem to figure this out, but how do you select a random number from two numbers (say 10,11). I don’t want to have decimals, but rather an integer out of those two numbers. Thanks!

math.random(10,11) This will give you either 10 or 11 randomly.

Codea returns random on integers already…

Just use math.random(minimum,maximum)

Thanks.