This function will return the number rounded down to the specified number of decimal places.
RoundDown([Number], [DecimalPlaces])
Where:
Number is a number or a reference to a number, that should be rounded to a specified number of decimal places.
DecimalPlaces is the number of decimal places to which the number should be rounded.
The RoundDown function will return the number rounded down to the specified number of decimal places.
Rule | Meaning |
---|---|
RoundDown(WidthTextBoxReturn/4, 2) | Determines the return value of WidthTextBox divided by 4, and rounds it down to 2 decimal places. |
WidthTextBoxReturn/4 Value | Decimal Places | Result of the RoundDown function |
---|---|---|
36.5823563 | 2 | 36.58 |
187.528492 | 4 | 187.5284 |
78.343545 | 0 | 78 |