I created a simple infix method to get around this...
# announcements
s
I created a simple infix method to get around this called umod (unsigned mod) though:
Copy code
infix fun Int.umod(other: Int) = (this % other) + if (this < 0) other else 0