rem
Требования к платформе и версии: JVM (1.0), JS (1.0), Native (1.0)
operator fun rem(other: UByte): UInt
operator fun rem(other: UShort): UInt
operator fun rem(other: UInt): UInt
operator fun rem(other: ULong): ULong
Вычисляет остаток от деления этого значения на другое значение с усечением.
Результат всегда меньше делителя.
© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/rem.html