SpreadJS Documentation
ISO.CEILING

This function rounds a number up to the nearest integer or multiple of a specified value.

Syntax

ISO.CEILING(value,signif)

Arguments

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.

Data Types

Accepts numeric data for both arguments. Returns numeric data.

Examples

ISO.CEILING(4.3) gives the result 5

ISO.CEILING(-2.5, 2) gives the result 2

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.