ceil
ceil — Round fractions up.Description
ceil( int|float $num ): floatReturns the next highest integer value by rounding up num if necessary.
Parameters
num
The value to round
Return Values
num 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 int.More information about ceil on official PHP documentation site
ceil - Popular snippets
- PHP 7.4 / mysqli_query mysqli_num_rows ceil print_r
last run:
2025-01-31 18:00:39
185
- PHP 8.0 / mysqli_query mysqli_num_rows ceil print_r
last run:
2025-01-31 18:00:40
184
- / mysqli_query mysqli_num_rows ceil print_r
last run:
2025-01-31 15:45:23
182
- PHP 8.1 / mysqli_query mysqli_num_rows ceil print_r
last run:
2025-01-31 18:00:41
181
- PHP 7.4 / strlen ceil print_r
last run:
2023-04-18 15:29:39
15
- PHP 7.4 / strlen ceil
last run:
2021-07-01 20:47:09
10
- PHP 8.1 / print_r round ceil
last run:
2024-02-16 13:13:40
9
- PHP 8.1 / print_r round ceil
last run:
2024-02-16 13:12:57
8
- PHP 8.1 / ceil printf
last run:
2022-12-02 23:38:12
8
- PHP 8.0 / preg_match printf ceil
last run:
2024-09-16 19:01:01
7
ceil - New snippets
-
PHP 8.1 / MySQL 8.0 ceil is_numeric join
added at:
2025-04-11 13:03:53
1
-
PHP 8.0 / MariaDB 11.4 preg_match printf ceil
added at:
2025-03-17 04:44:53
1
-
PHP 8.3 / MySQL 8.0 mysqli_query mysqli_num_rows ceil print_r
added at:
2025-01-31 18:25:19
3
-
PHP 8.2 / MySQL 8.0 mysqli_query mysqli_num_rows ceil print_r
added at:
2025-01-31 18:25:17
3
-
PHP 8.4 / MySQL 8.0 mysqli_query mysqli_num_rows ceil print_r mysqli_query mysqli_num_rows ceil print_r
added at:
2025-01-31 18:22:09
5
-
PHP 8.1 / MySQL 8.0 mysqli_query mysqli_num_rows ceil print_r
added at:
2025-01-31 18:03:11
6
-
PHP 8.0 / MySQL 8.0 mysqli_query mysqli_num_rows ceil print_r
added at:
2025-01-31 18:03:09
6
-
PHP 7.4 / MySQL 8.0 mysqli_query mysqli_num_rows ceil print_r
added at:
2025-01-31 18:03:08
6
-
PHP 8.1 / var_dump number_format ceil
added at:
2024-11-21 13:39:54
1