div

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
operator fun div(other: UByte): UInt
operator fun div(other: UShort): UInt
operator fun div(other: UInt): UInt
operator fun div(other: ULong): ULong

Divides this value by the other value, truncating the result to an integer that is closer to zero.

© 2010–2021 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-short/div.html