HP Forums

Full Version: (11C) Modulo (the remainder after division )
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MOD program for the remainder after division.

Code:

LBL A
STO 1
X<>Y
STO 2
X<>Y
/
INT
RCL 1
x
CHS
RCL 2
+
RTN

Example:
MOD (15651153, 1546223)

15651153 ENTER 1546223 [A] result 188923


Gamo
Reference URL's