TX Sheet Control

ROUND Function

Function

Round a number to a specified number of digits. number is the number and num_digits the number of digits: a positive value rounds to decimal places, 0 to an integer and a negative value to the left of the decimal point, so ROUND(123.456,-1) returns 120. A half is rounded away from zero: ROUND(2.5,0) returns 3 and ROUND(-2.5,0) returns -3.

Syntax

ROUND(number, num_digits)

Category: Math. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=ROUND(123.456,2)

The formula returns 123.46.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also