div

operator fun div(other: Byte): Int(source)
operator fun div(other: Short): Int(source)
operator fun div(other: Int): Int(source)
operator fun div(other: Long): Long(source)

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

Since Kotlin

1.1

operator fun div(other: Float): Float(source)
operator fun div(other: Double): Double(source)

Divides this value by the other value.

Since Kotlin

1.1
operator fun div(other: Byte): Int(source)
operator fun div(other: Short): Int(source)
operator fun div(other: Int): Int(source)
operator fun div(other: Long): Long(source)

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

Since Kotlin

1.0

operator fun div(other: Float): Float(source)
operator fun div(other: Double): Double(source)

Divides this value by the other value.

Since Kotlin

1.0