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

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?


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.

1 Like

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