Function ceil

Top 

Declaration:

float ceil(float x);

Description

The ceil function calculates the least integer value that is greater than or equal to x.

Returned value

The ceil function returns the double-type number equal to the least integer that is no greater than x.