Item | Value |
Header file | math.h |
Declaration | float ceilf(float num); double ceil(double num); long double ceill(long double num); |
Return | returns the smallest integer not less than num. |
#include <math.h> #include <stdio.h> int main(void) { printf("%f", ceil(9.9)); }
10.000000
19.10.ceil | ||||
19.10.1. | ceil |