DIV_OPERATOR
Back to current versionRestore this version
DIV - Divide Divide Operand 2 by Operand 3, store result in Operand 1 Operand 1 = Operand 2 / Operand 3 It is recommended prior to using the division operator, that you do a check, on the value of Operand3 to ensure that it is not zero (0). Example: Divide the hours worked last year (stored in a statistic) by 40 (the standard hours per week), and store the value into PC 1011.
LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET PC 1011 DIV S HRS WRKD LAST YR N 40 99999