ceil
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.2Return
the smallest double value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.2Return
the smallest Float value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.2Return
the smallest double value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.2Return
the smallest Float value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.2Return
the smallest double value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.2Return
the smallest Float value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.3Return
the smallest double value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.
Rounds the given value x to an integer towards positive infinity.
Since Kotlin
1.3Return
the smallest Float value that is greater than or equal to the given value x and is a mathematical integer.
Special cases:
ceil(x)
isx
wherex
isNaN
or+Inf
or-Inf
or already a mathematical integer.