Skip to main content

Number.RoundUp

Returns the next highest number. The number of digits can be specified.

Syntax

Number.RoundUp(
number as number,
optional digits as number
) as number

Remarks

Returns the result of rounding number up to the next highest integer. If number is null, this function returns null. If digits is provided, number is rounded to the specified number of decimal digits.

Examples

Example #1

Round up 1.234 to integer.

Number.RoundUp(1.234)

Result:

2

Example #2

Round up 1.999 to integer.

Number.RoundUp(1.999)

Result:

2

Example #3

Round up 1.234 to two decimal places.

Number.RoundUp(1.234, 2)

Result:

1.24

Category

Number.Rounding