- Code: Select all
GETMONEY=rand(5);
if(GETMONEY==0)
{
Money.textNumber+=rand(100);
}
What I'm having problems with, is that I'm not getting a whole number. I keep getting numbers like "25.50645". Is there a way so it's just Whole? like "25". The fraction is annoying haha.

Thank you!