Skip to content

Creating your own hero.

User Avatar
#151
Auto-translated
}{0TT@6bI4
Nothing new: mod(x,n) determines the remainder of the division of x by n. If the remainder is zero, it means that x is divisible by n.
Thank you. I just got confused because in Python, mod is the same as %, so I looked it up in the Lua reference and found that it's implemented using the fmod module. Do I need to import anything beforehand?

UPD: Thanks again, it all works.

Statistics

Welcome our newest member: wayal