floorDiv

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

Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.

For unsigned types, the results of flooring division and truncating division are the same.

© 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-int/floor-div.html