floorDiv

Common
JVM
JS
Native
1.5
fun Byte.floorDiv(other: Byte): Int
(source)
fun Byte.floorDiv(other: Short): Int
(source)
fun Byte.floorDiv(other: Int): Int
(source)
fun Byte.floorDiv(other: Long): Long
(source)
fun Short.floorDiv(other: Byte): Int
(source)
fun Short.floorDiv(other: Short): Int
(source)
fun Short.floorDiv(other: Int): Int
(source)
fun Short.floorDiv(other: Long): Long
(source)
fun Int.floorDiv(other: Byte): Int
(source)
fun Int.floorDiv(other: Short): Int
(source)
fun Int.floorDiv(other: Int): Int
(source)
fun Int.floorDiv(other: Long): Long
(source)
fun Long.floorDiv(other: Byte): Long
(source)
fun Long.floorDiv(other: Short): Long
(source)
fun Long.floorDiv(other: Int): Long
(source)
fun Long.floorDiv(other: Long): Long
(source)

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