mod
Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
The result is always less than the divisor.
For unsigned types, the remainders of flooring division and truncating division are the same.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
The result is always less than the divisor.
For unsigned types, the remainders of flooring division and truncating division are the same.