Post Reply 
(12C) Modulo (the remainder after division )
12-05-2019, 12:03 PM (This post was last modified: 12-06-2019 04:31 AM by Gamo.)
Post: #5
RE: (12C) Modulo (the remainder after division )
This little MOD function routine must be the perfect one of all, I hope.

Procedure:

x mod y = remainder

X [ENTER] Y [R/S] display Answer

Program:
Code:

01    รท
02  LSTx
03  X<>Y
04  ENTER
05  INTG
06    -
07    x
08  FIX 0

Example:

98765 mod 4321

98765 [ENTER] 4321 [R/S] display 3703

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (12C) Modulo (the remainder after division ) - Gamo - 12-05-2019 12:03 PM



User(s) browsing this thread: 1 Guest(s)