Skip to main content



RoundUp Function

The RoundUp function rounds a number up to a specified number of decimal places.

Syntax 1

RoundUp(number)

The RoundUp function rounds a number up to a specified number of decimal places.

Arguments

number Numeric - The number to round.

Syntax 2

RoundUp(number, digits)

The RoundUp function rounds a number up to a specified number of decimal places.

Arguments

number Numeric - The number to round.

digits Integer - The number of significant digits to the right of the decimal point in the return value. If omitted, 0 is used.

Remarks

Example:

RoundUp(4.25610, 2); // returns 4.26

Example:

RoundUp(4.25610); // returns 5