ceil
Rounds the given value Array to an integer towards positive infinity.
Example:
arrayOf(1.1, 1.4999999999999998, 2.9999999999999996, 2.6).ceil() // [2.0, 2.0, 3.0, 3.0]
Content copied to clipboard
Since
1.1.0
See also
ceil
Rounds the given value Iterable to an integer towards positive infinity.
Example:
listOf(1.1, 1.4999999999999998, 2.9999999999999996, 2.6).ceil() // [2.0, 2.0, 3.0, 3.0]
Content copied to clipboard
Since
1.1.0
See also
ceil