div

expect operator fun div(other: Byte): Long(source)
expect operator fun div(other: Short): Long(source)
expect operator fun div(other: Int): Long(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 inline operator fun div(other: Byte): Long(source)
actual inline operator fun div(other: Short): Long(source)
actual inline operator fun div(other: Int): Long(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 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.1
operator fun div(other: Byte): Long(source)
operator fun div(other: Short): Long(source)
operator fun div(other: Int): Long(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): Long(source)
actual inline operator fun div(other: Short): Long(source)
actual inline operator fun div(other: Int): Long(source)
actual operator external 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): Long(source)
actual inline operator fun div(other: Short): Long(source)
actual inline operator fun div(other: Int): Long(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.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): Long(source)
actual inline operator fun div(other: Short): Long(source)
actual inline operator fun div(other: Int): Long(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.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