Skip to main content



RoundDown Function

The RoundDown function rounds a number down to a specified number of decimal places.

Syntax 1

RoundDown(number)

The RoundDown function rounds a number down to a specified number of decimal places.

Arguments

number Numeric - The number to round.

Syntax 2

RoundDown(number, digits)

The RoundDown function rounds a number down 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:

RoundDown(4.25610, 2); // returns 4.25

Example:

RoundDown(4.25610); // returns 4