Round Up uses similar logic to Round Nearest, but rounds up to the next level specified in Operand 3
Examples
Operand2 | Operand3 | Result (stored in Operand 1) |
---|---|---|
1.10011 | 1 | 2 |
1.10011 | 0.001 | 1.101 |
1.1 | 0.5 | 1.5 |
1.0 | 0.5 | 1.0 |
As with RDN, it is acceptable to round up to the next .25, or any other amount such as to the next 2, 3, etc.
Statement: Round the employee’s annualized salary to the next 1000 and store the value into the Variable Ann Sal Rnd Up
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | ANNUALIZED SALARY | WAGE | WB | YR | 00020 | |||
00020 | LET | V | ANNUALIZED SALARY | RDU | V | ANNUALIZED SALARY | N | 100 | 99999 | |
99999 | EXIT | 99999 |
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation