Why not use choose(0,1,2,3)
I guess things like floor, int, random would work but choose is the most logical choice (Even though it would do the exact same thing)
Using floor(random(0,3)) actually will (almost) never get you 3. Since it chooses a huge range of decimal points, there's thousands of possibilities between 2 and 3. The likelihood of getting 3 is quite slim so you could use choose() OR you could do round(random())