rem
Calculates the remainder of truncating division of this value by the array.
Example:
10 rem arrayOf(1, 2, 3) // [0, 0, 1]
Since
1.1.0
Calculates the remainder of truncating division of this Array by the number.
Example:
arrayOf(1, 2, 3) rem 10 // [1, 2, 3]
Since
1.1.0
Calculates the remainder of truncating division of this value by the array.
Example:
10F rem arrayOf(1F, 2F, 3F) // [0F, 0F, 1F]
Since
1.1.0
Calculates the remainder of truncating division of this Array by the number.
Example:
arrayOf(1F, 2F, 3F) rem 10F // [1F, 2F, 3F]
Since
1.1.0
Calculates the remainder of truncating division of this value by the array.
Example:
10.0 rem arrayOf(1.0, 2.0, 3.0) // [0.0, 0.0, 1.0]
Since
1.1.0
Calculates the remainder of truncating division of this Array by the number.
Example:
arrayOf(1.0, 2.0, 3.0) rem 10.0 // [1.0, 2.0, 3.0]
Since
1.1.0
Calculates the remainder of truncating division of this value by the array.
Example:
10L rem arrayOf(1L, 2L, 3L) // [0L, 0L, 1L]
Since
1.1.0
Calculates the remainder of truncating division of this Array by the number.
Example:
arrayOf(1L, 2L, 3L) rem 10L // [1L, 2L, 3L]
Since
1.1.0
Calculates the remainder of truncating division of this value by the iterable.
Example:
10 rem listOf(1, 2, 3) // [0, 0, 1]
Since
1.1.0
Calculates the remainder of truncating division of this Iterable by the number.
Example:
listOf(1, 2, 3) rem 10 // [1, 2, 3]
Since
1.1.0
Calculates the remainder of truncating division of this value by the iterable.
Example:
10F rem listOf(1F, 2F, 3F) // [0F, 0F, 1F]
Since
1.1.0
Calculates the remainder of truncating division of this Iterable by the number.
Example:
listOf(1F, 2F, 3F) rem 10F // [1F, 2F, 3F]
Since
1.1.0
Calculates the remainder of truncating division of this value by the iterable.
Example:
10.0 rem listOf(1.0, 2.0, 3.0) // [0.0, 0.0, 1.0]
Since
1.1.0
Calculates the remainder of truncating division of this Iterable by the number.
Example:
listOf(1.0, 2.0, 3.0) rem 10.0 // [1.0, 2.0, 3.0]
Since
1.1.0
Calculates the remainder of truncating division of this value by the iterable.
Example:
10L rem listOf(1L, 2L, 3L) // [0L, 0L, 1L]
Since
1.1.0
Calculates the remainder of truncating division of this Iterable by the number.
Example:
listOf(1L, 2L, 3L) rem 10L // [1L, 2L, 3L]
Since
1.1.0