Floor
Table of Contents
| floorCheck1Arg() | void | |
|---|---|---|
| funcFloor() | FLOOR. | float|string |
| argumentsOk() | Avoid Scrutinizer problems concerning complexity. | float|string |
Methods
floorCheck1Arg()
private
static floorCheck1Arg(
)
: void
funcFloor()
FLOOR.
public
static funcFloor(
$number :
float
[, $significance :
float
= null ]
)
: float|string
Rounds number down, toward zero, to the nearest multiple of significance.
Excel Function: FLOOR(number[,significance])
Parameters
- $number : float
Number to round
- $significance : float = null
Significance
Return values
float|string —Rounded Number, or a string containing an error
argumentsOk()
Avoid Scrutinizer problems concerning complexity.
private
static argumentsOk(
$number :
float
, $significance :
float
)
: float|string
Parameters
- $number : float
- $significance : float