div
Divides this value by the array.
Example:
10 div arrayOf(1, 2, 3) // [10, 5, 3]
Since
1.1.0
Divides this Array by the number.
Example:
arrayOf(1, 2, 3) div 10 // [0, 0, 0]
Since
1.1.0
Divides this value by the array.
Example:
10F div arrayOf(1F, 2F, 3F) // [10F, 5F, 3.33F]
Since
1.1.0
Divides this Array by the number.
Example:
arrayOf(1F, 2F, 3F) div 10F // [0.1F, 0.2F, 0.3F]
Since
1.1.0
Divides this value by the array.
Example:
10.0 div arrayOf(1.0, 2.0, 3.0) // [10.0, 5.0, 3.33]
Since
1.1.0
Divides this Array by the number.
Example:
arrayOf(1.0, 2.0, 3.0) div 10.0 // [0.1, 0.2, 0.3]
Since
1.1.0
Divides this value by the array.
Example:
10L div arrayOf(1L, 2L, 3L) // [10L, 5L, 3L]
Since
1.1.0
Divides this Array by the number.
Example:
arrayOf(1L, 2L, 3L) div 10L // [0L, 0L, 0L]
Since
1.1.0
Divides this value by the iterable.
Example:
10 div listOf(1, 2, 3) // [10, 5, 3]
Since
1.1.0
Divides this Iterable by the number.
Example:
listOf(1, 2, 3) div 10 // [0, 0, 0]
Since
1.1.0
Divides this value by the iterable.
Example:
10F div listOf(1F, 2F, 3F) // [10F, 5F, 3.33F]
Since
1.1.0
Divides this Iterable by the number.
Example:
listOf(1F, 2F, 3F) div 10F // [0.1F, 0.2F, 0.3F]
Since
1.1.0
Divides this value by the iterable.
Example:
10.0 div listOf(1.0, 2.0, 3.0) // [10.0, 5.0, 3.33]
Since
1.1.0
Divides this Iterable by the number.
Example:
listOf(1.0, 2.0, 3.0) div 10.0 // [0.1, 0.2, 0.3]
Since
1.1.0
Divides this value by the iterable.
Example:
10L div listOf(1L, 2L, 3L) // [10L, 5L, 3L]
Since
1.1.0
Divides this Iterable by the number.
Example:
listOf(1L, 2L, 3L) div 10L // [0L, 0L, 0L]
Since
1.1.0