abstract fun divideCeil(value: T): T
(source)
Returns a value that is ceiling(this / value)
.
value
- T: The amount to divide this value by.
ArithmeticException
- value
== 0.
Return
T: this / value + ( this % value == 0 ? 0 : 1)
abstract fun divideCeil(value: Long): T
(source)
Returns a value that is ceiling(this / value)
.
value
- Long: The amount to divide this value by.
ArithmeticException
- value
== 0.
Return
T: this / value + ( this % value == 0 ? 0 : 1)