MOD - Modulus Returns the remainder resulting from dividing Operand 2 by Operand 3 Statement: Find the number of months that have passed since an employee’s last anniversary, and store the value into the Variable Months since Ann.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|
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