floorValue.php
Table of Contents
Functions
- floorValue() : int|float
- Rounds and returns a number by a count of floating points, using floor.
Functions
floorValue()
Rounds and returns a number by a count of floating points, using floor.
floorValue(int|float $value[, int $floatCount = 0 ]) : int|float
The floor of a number is the closest integer less than or equal to the number.
Parameters
- $value : int|float
-
The number to round.
- $floatCount : int = 0
-
The number of decimal places to round down to.
Tags
Return values
int|float —The rounded number.