\PhpOffice\PhpSpreadsheet\Calculation\MathTrigFloorPrecise

Summary

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

Methods

funcFloorPrecise()

funcFloorPrecise(float  $number, float  $significance = 1) : float|string

FLOOR.PRECISE.

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

Excel Function: FLOOR.PRECISE(number[,significance])

Parameters

float $number

Number to round

float $significance

Significance

Returns

float|string —

Rounded Number, or a string containing an error

argumentsOk()

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

Avoid Scrutinizer problems concerning complexity.

Parameters

float $number
float $significance

Returns

float|string —