WorksheetFunction.RoundDown (Excel)
Rounds a number down, toward 0 (zero).
RoundDown behaves like Round, except that it always rounds a number down. If num_digits is greater than 0 (zero), number is rounded down to the specified number of decimal places. If num_digits is 0, number is rounded down to the nearest integer. If num_digits is less than 0, number is rounded down to the left of the decimal point.
RoundDown (Arg1, Arg2)
Dim dblArg1 As Double: dblArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblRoundDown As Double
dblRoundDown = WorksheetFunction.RoundDown(Arg1:=dblArg1, Arg2:=dblArg2)
Arguments
Arg1, Arg2Arg1 (Double) - Number - any real number that you want rounded down.
Arg2 (Double) - Num_digits - the number of digits to which you want to round number.