\PhpOffice\PhpSpreadsheet\Calculation\MathTrigCeilingMath

Summary

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

Methods

funcCeilingMath()

funcCeilingMath(mixed  $number, mixed  $significance = null, int  $mode) : float|string

CEILING.MATH.

Round a number down to the nearest integer or to the nearest multiple of significance.

Excel Function: CEILING.MATH(number[,significance[,mode]])

Parameters

mixed $number

Number to round

mixed $significance

Significance

int $mode

direction to round negative numbers

Returns

float|string —

Rounded Number, or a string containing an error

ceilingMathTest()

ceilingMathTest(float  $significance, float  $number, int  $mode) : bool

Let CEILINGMATH complexity pass Scrutinizer.

Parameters

float $significance
float $number
int $mode

Returns

bool —