This page (revision-4) was last changed on 26-Nov-2021 10:22 by JMyers

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 26-Nov-2021 10:22 699 bytes JMyers to previous
3 26-Nov-2021 10:22 561 bytes JMyers to previous | to last
2 26-Nov-2021 10:22 530 bytes JMyers to previous | to last
1 26-Nov-2021 10:22 517 bytes JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
DIV - Divide
!!DIV - Divide
At line 3 added one line
At line 4 changed 4 lines
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.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET PC 1011 DIV S HRS WRKD LAST YR N 40 99999
%%warning 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.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET |PC |1011| DIV| S |HRS WRKD LAST YR| N| 40| 99999|
----
![Notes|Edit:Internal.DIV_OPERATOR]
[{InsertPage page='Internal.DIV_OPERATOR' default='Click to create a new notes page'}]