PHP ceil() Function is used to get round a number up to the nearest integer for floating-point number. A ceil() function is built-in function in PHP.
Syntax :
ceil(int $number);
Parameter,
$number: Required. It is a number.
Return Values :
It returns round up number up to nearest integer for floating-point number.
Let's see below example to understand php ceil() Function in details.
Comments