Is there a way to check if a number can be divided by 10? And the quotient is integer.
Thanks in advance.
To get the remainder from division you can use the % symbol.
So if you put yourValue%10=0 would return true if it was divisible by 10.
That's exactly what i want, thank you! :D
Develop games in your browser. Powerful, performant & highly capable.
This was also an answer to what I just wondered... 4 years later. Searching is nice.