\PhpOffice\PhpSpreadsheet\Calculation\MathTrigFloor

Summary

Methods
Properties
Constants
funcFloor()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
floorCheck1Arg()
argumentsOk()
No private properties found
N/A

Methods

funcFloor()

funcFloor(float  $number, float  $significance = null) : float|string

FLOOR.

Rounds number down, toward zero, to the nearest multiple of significance.

Excel Function: FLOOR(number[,significance])

Parameters

float $number

Number to round

float $significance

Significance

Returns

float|string —

Rounded Number, or a string containing an error

floorCheck1Arg()

floorCheck1Arg() : void

argumentsOk()

argumentsOk(float  $number, float  $significance) : float|string

Avoid Scrutinizer problems concerning complexity.

Parameters

float $number
float $significance

Returns

float|string —