SpreadJS Documentation > Formula Reference > Formula Functions > ISO.CEILING |
This function rounds a number up to the nearest integer or multiple of a specified value.
ISO.CEILING(value,signif)
This function has these arguments:
Argument | Description |
---|---|
value | Number to round |
signif | [Optional] Number representing the rounding factor, default value is 1 |
If the number or the signif is zero, zero is returned. The absolute value of the multiple is used, so this function returns the mathematical ceiling regardless of the number signs and significance.
Accepts numeric data for both arguments. Returns numeric data.
ISO.CEILING(4.3) gives the result 5
ISO.CEILING(-2.5, 2) gives the result 2