div

expect operator fun div(other: Byte): Int(source)
expect operator fun div(other: Short): Int(source)
expect operator fun div(other: Int): Int(source)
expect 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

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

Divides this value by the other value.

Since Kotlin

1.0
actual operator fun div(other: Byte): Int(source)
actual operator fun div(other: Short): Int(source)
actual operator fun div(other: Int): Int(source)
actual 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

actual operator fun div(other: Float): Float(source)
actual 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
actual inline operator fun div(other: Byte): Int(source)
actual inline operator fun div(other: Short): Int(source)
actual inline operator fun div(other: Int): Int(source)
actual inline 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.3

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

Divides this value by the other value.

Since Kotlin

1.3
actual inline operator fun div(other: Byte): Int(source)
actual inline operator fun div(other: Short): Int(source)
actual inline operator fun div(other: Int): Int(source)
actual inline 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.8

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

Divides this value by the other value.

Since Kotlin

1.8
actual inline operator fun div(other: Byte): Int(source)
actual inline operator fun div(other: Short): Int(source)
actual inline operator fun div(other: Int): Int(source)
actual inline 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.8

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

Divides this value by the other value.

Since Kotlin

1.8