Documentation

FloorPrecise

Table of Contents

funcFloorPrecise() FLOOR.PRECISE. float|string
argumentsOk() Avoid Scrutinizer problems concerning complexity. float|string

Methods

funcFloorPrecise()

FLOOR.PRECISE.

public static funcFloorPrecise( $number : float [, $significance : float = 1 ] ) : float|string

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

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

Parameters
$number : float

Number to round

$significance : float = 1

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
Return values
float|string

Search results