Returns the remainder resulting from dividing Operand 2 by Operand 3
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | MONTHS TOTAL | MBT | DB | EEM.HIRE_DATE | $S | PERIOD-END-DATE | 00020 | |
00020 | LET | V | MONTHS SINCE ANN | MOD | V | MONTHS TOTAL | N | 12 | 99999 | |
99999 | EXIT | 99999 |
In the example above, the employee was hired Jan 1, 1998, and the pay period end date was June 1, 1999. The months between the two dates are divided by 12 months and the remaining months are returned.
June 1/99 – Jan1/98 = 18 | 18/12 = 1.5 | 12*0.5 = 6 |
The value that would be calculated in Months Since Ann would be 6.
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