Ceiling
Table of Contents
| funcCeiling() | CEILING. | float|string |
|---|---|---|
| argumentsOk() | Avoid Scrutinizer problems concerning complexity. | float|string |
| floorCheck1Arg() | void |
Methods
funcCeiling()
CEILING.
public
static funcCeiling(
$number :
float
[, $significance :
float
= null ]
)
: float|string
Returns number rounded up, away from zero, to the nearest multiple of significance. For example, if you want to avoid using pennies in your prices and your product is priced at $4.42, use the formula =CEILING(4.42,0.05) to round prices up to the nearest nickel.
Excel Function: CEILING(number[,significance])
Parameters
- $number : float
the number you want the ceiling
- $significance : float = null
the multiple to which you want to round
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|stringfloorCheck1Arg()
private
static floorCheck1Arg(
)
: void