This function, when calculated, rounds the number to the specified multiple.
MRound([Number], [Multiple])
Where:
Number is the number, or reference to a number, that you want to round to the specified multiple.
Multiple is the value you want to round the number to.
Rule | Meaning |
---|---|
MRound(LengthTextBoxReturn, 2) | The MRound function rounds the return value from the LengthTextBox, to the nearest multiple of 2. |
LengthTextBoxReturn Value | Multiple | Result of the MRound function |
---|---|---|
15.3 | 2 | 16 |
85 | 15 | 90 |
1.7 | 0.4 | 1.6 |