← Docs
kotlin-stdlib / kotlin / ULong / div

div

Common
JVM
JS
Native
1.0
operator fun div ( other : UByte ) : ULong
(source)
operator fun div ( other : UShort ) : ULong
(source)
operator fun div ( other : UInt ) : ULong
(source)
operator fun div ( other : ULong ) : ULong
(source)

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .