kotlin-stdlib / kotlin / Long / rem rem Common JVM JS Native 1.1 operator fun rem(other: Byte): Long(Common source) (JS source) (Native source) operator fun rem(other: Short): Long(Common source) (JS source) (Native source) operator fun rem(other: Int): Long(Common source) (JS source) (Native source) operator fun rem(other: Long): Long(Common source) (JS source) (Native source) operator fun rem(other: Float): Float(Common source) (JS source) (Native source) operator fun rem(other: Double): Double(Common source) (JS source) (Native source) Calculates the remainder of truncating division of this value (dividend) by the other value (divisor). The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.