rem

operator fun rem(other: Byte): Float
operator fun rem(other: Short): Float
operator fun rem(other: Int): Float
operator fun rem(other: Long): Float
operator fun rem(other: Float): Float
operator fun rem(other: Double): Double

Calculates the remainder of truncating division of this value by the other value.

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.

Since Kotlin

1.1
operator fun rem(other: Byte): Float
operator fun rem(other: Short): Float
operator fun rem(other: Int): Float
operator fun rem(other: Long): Float
operator fun rem(other: Float): Float
operator fun rem(other: Double): Double

Calculates the remainder of truncating division of this value by the other value.

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.

Since Kotlin

1.1
inline operator fun rem(other: Byte): Float
inline operator fun rem(other: Short): Float
inline operator fun rem(other: Int): Float
inline operator fun rem(other: Long): Float
operator external fun rem(other: Float): Float
inline operator fun rem(other: Double): Double

Calculates the remainder of truncating division of this value by the other value.

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.