Documentation

CeilingMath

Table of Contents

funcCeilingMath() CEILING.MATH. float|string
ceilingMathTest() Let CEILINGMATH complexity pass Scrutinizer. bool

Methods

funcCeilingMath()

CEILING.MATH.

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

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

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

Parameters
$number : mixed

Number to round

$significance : mixed = null

Significance

$mode : int

direction to round negative numbers

Return values
float|string —

Rounded Number, or a string containing an error

ceilingMathTest()

Let CEILINGMATH complexity pass Scrutinizer.

private static ceilingMathTest( $significance : float , $number : float , $mode : int ) : bool
Parameters
$significance : float
$number : float
$mode : int
Return values
bool

Search results