ceilValue.php
Table of Contents
Functions
- ceilValue() : int|float
- Rounds and returns the ceiling of the specified number or expression.
Functions
ceilValue()
Rounds and returns the ceiling of the specified number or expression.
ceilValue(int|float $value[, int $floatCount = 0 ]) : int|float
The ceiling of a number is the closest integer that is greater than or equal to the number.
Parameters
- $value : int|float
-
The number to round.
- $floatCount : int = 0
-
The number of decimal places to round up to.
Tags
Return values
int|float —The rounded number.