Gen. partnerAlgotech

PHP function ceil()

Round fractions up

|
September 11, 2019

Availability in PHP 4.0

Round fractions up

Parameters

Parameter Data type Default value Note
$value float not The value to round

Return values

float

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.

Other resources

Official documentation of the ceil function

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.