Number.RoundUp

Syntax

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

About

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.

Example 1

Round up 1.234 to integer.

Usage

Number.RoundUp(1.234)

Output

2

Example 2

Round up 1.999 to integer.

Usage

Number.RoundUp(1.999)

Output

2

Example 3

Round up 1.234 to two decimal places.

Usage

Number.RoundUp(1.234, 2)

Output

1.24