Menu Riverview Church

CEIL

Round fractions up

SYNTAX

ceil ( float $value ) : float

PARAMETERS

value

The value to round

RETURN

value rounded up to the next highest integer. The return value of ceil() is still of type float as the value range of float is usually bigger than that of integer.

EXAMPLES

1

-99

2

-99

3

100

4

100

PHP