div
Требования к платформе и версии: JVM (1.0), JS (1.0), Native (1.0)
operator fun div(other: Byte): Long
operator fun div(other: Short): Long
operator fun div(other: Int): Long
operator fun div(other: Long): Long
Делит это значение на другое значение, округляя результат к ближайшему целому числу, приближенному к нулю.
Требования к платформе и версии: JVM (1.0), JS (1.0), Native (1.0)
operator fun div(other: Float): Float
operator fun div(other: Double): Double
Делит это значение на другое значение.
© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/div.html