Let's say I have the number 11.92 and I want to keep 11 and delete .92 (The number is random every time so I can't just subtract 0.92)
I know this is more of a math question but I could not find the answer on the web =D
Develop games in your browser. Powerful, performant & highly capable.
int(random())
I always use floor(random(something))..
Thanks guys!