Ruckus
kotlin.math.ceil()
the smallest double value that is greater than the given value x and is a mathematical integer
x
the smallest double value that is greater than or equal to the given value x and is a mathematical integer
floor
karelpeeters
Special cases:
- ceil(x) is x where x is NaN or +Inf or -Inf or already a mathematical integer.
ceil(x)
NaN
+Inf
-Inf
or already a mathematical integer
ilya.gorbunov
A modern programming language that makes developers happier.