iceil

int iceil(fixed x)

Description

Returns x rounded up as an integer.

See the article on Rounding for all rounding modes.

Examples

iceil(2.3) -> 3
iceil(3.8) -> 4
iceil(5.5) -> 6
iceil(-2.3) -> -2
iceil(-3.8) -> -3
iceil(-5.5) -> -5