roundValue.php
Table of Contents
Functions
- roundValue() : int|float
- Rounds and returns the rounded value of the specified number or expression.
Functions
roundValue()
Rounds and returns the rounded value of the specified number or expression.
roundValue(int|float $value[, int $floatCount = 0 ]) : int|float
Parameters
- $value : int|float
-
The number to round.
- $floatCount : int = 0
-
The number of decimal places to round to.
Tags
Return values
int|float —The rounded number.