Can’t seem to get a random number to display as an integer


#1

I am using the random number switch on a variable. I am moving the variable to a scoreboard and it displays a number with 6 digits to the right of the decimal, but I need it to be an integer. Anybody got any ideas?


#2

https://ready.app.link/eQIernq2mR

This uses the Counter behaviour to generate a random number between 0 to 9
(if the counters hidden, then the values random to the player)
Click the circle to stop the cycle.


#3

Thanks Suzzy-Grey. I got distracted and forgot to check this. I will check it out.