Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|
PRC- Percent
Percent uses the same logic as MLT, but assumes Operand 3 will be a percent figure.
Take the percent value of Operand 2, store result in Operand 1
Example: Find 1% of the employee’s annualized salary, and store it into the Variable 1 Percent
00010 LET V ANNUALIZED WAGE WAGE WB YR 00020
00020 LET V 1 PERCENT PRC V ANNUALIZED WAGE N 1 99999
99999 EXIT 99999