This function will return the number rounded up to the specified number of decimal places.
RoundUp([Number], [Decimal Places])
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.
Rule | Meaning |
---|---|
RoundUp(WidthTextBoxReturn/4, 2) | Determines the return value of WidthTextBox divided by 4, and rounds it up to 2 decimal places. |
WidthTextBoxReturn/4 Value | Number of Digits | Result of the RoundUp function |
---|---|---|
36.5823563 | 2 | 36.59 |
187.528492 | 4 | 187.5285 |
78.343545 | 0 | 79 |