floorDiv

inline fun Byte.floorDiv(other: Byte): Int
inline fun Byte.floorDiv(other: Short): Int
inline fun Byte.floorDiv(other: Int): Int
inline fun Byte.floorDiv(other: Long): Long
inline fun Short.floorDiv(other: Byte): Int
inline fun Short.floorDiv(other: Short): Int
inline fun Short.floorDiv(other: Int): Int
inline fun Short.floorDiv(other: Long): Long
inline fun Int.floorDiv(other: Byte): Int
inline fun Int.floorDiv(other: Short): Int
inline fun Int.floorDiv(other: Int): Int
inline fun Int.floorDiv(other: Long): Long
inline fun Long.floorDiv(other: Byte): Long
inline fun Long.floorDiv(other: Short): Long
inline fun Long.floorDiv(other: Int): Long
inline fun Long.floorDiv(other: Long): Long

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

Since Kotlin

1.5