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 848 bytes JMyers to previous
3 26-Nov-2021 10:22 710 bytes JMyers to previous | to last
2 26-Nov-2021 10:22 641 bytes JMyers to previous | to last
1 26-Nov-2021 10:22 626 bytes JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed one line
RDD - Round Down
!!RDD - Round Down
At line 4 added one line
At line 4 changed 11 lines
Operand 2 Operand 3 Result (stored in Operand 1)
1.10011 1 1
1.10011 0.001 1.100
1.1 0.5 1.0
1.0 0.5 1.0
1.9 0.5 1.5
As with RDN, it is acceptable to round down to the next .25, or any other amount such as to the next 2, 3, etc.
Statement: Round the value of PC 500 down to the nearest quarter hour and store it back into itself.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET PC 500 RDD PC 500 N .25 99999
99999 EXIT 99999
||Operand 2||Operand 3||Result (stored in Operand 1)
|1.10011| 1| 1
|1.10011| 0.001| 1.100
|1.1 | 0.5 |1.0
|1.0| 0.5| 1.0
|1.9| 0.5| 1.5
At line 13 added 13 lines
As with [RDN|RDN_OPERATOR], it is acceptable to round down to the next .25, or any other amount such as to the next 2, 3, etc.
;Statement: Round the value of PC 500 down to the nearest quarter hour and store it back into itself.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET| PC| 500| RDD| PC| 500| N| .25| 99999|
|99999| EXIT| | | | | | | |99999 |
----
![Notes|Edit:Internal.RDD_OPERATOR]
[{InsertPage page='Internal.RDD_OPERATOR' default='Click to create a new notes page'}]