4.
Divide the sum of the products by the modulus (
10
in this
case), only to the whole number. The balance is called
the remainder.
9
10 98
90
8
5.
Subtract the remainder from the modulus.
The result becomes the check digit. In this case, the
check digit is
2
.
10 - 8 = 2
Sum of Digits Calculation
This is an example of how the printer uses Sum of Digits to
calculate a check digit for this data:
5 2 3 2 4 5 2 1 9
1.
Weights are applied to each digit, starting with the last
digit in the weight string. They are applied right to left,
beginning at the right-most position of the field.
Remember, a weight string must contain at least two
different numbers. This example has a weight string
of
1,2,3,4
.
field:
5 2 3 2 4 5 2 1 9
weight string:
4 1 2 3 4 1 2 3 4
2.
Each digit in the field is multiplied by the weight assigned
to it:
field:
5 2 3 2 4 5 2 1 9
weight string:
4 1 2 3 4 1 2 3 4
products:
20 2 6 6 16 5 4 3 36
MPCLII Packet Reference Manual
5-16
Summary of Contents for Monarch 1460
Page 14: ...MPCLII Packet ReferenceManual 1 6 ...
Page 76: ...MPCLII Packet ReferenceManual 4 24 ...
Page 94: ...MPCLII Packet ReferenceManual 5 18 ...
Page 116: ...MPCLII Packet ReferenceManual 7 14 ...
Page 154: ...MPCLII Packet ReferenceManual 10 8 ...
Page 162: ...MPCLII Packet ReferenceManual A 8 ...
Page 166: ...MPCLII Packet ReferenceManual A 12 ...
Page 168: ...Bold Font OCRA like Font Standard Font Reduced Font MPCLII Packet ReferenceManual B 2 ...
Page 169: ...CG Triumvirate Bold Font CG Triumvirate Font Appendix B Fonts B 3 ...
Page 183: ...Code Page 437 Appendix C Symbol Sets CodePages C 7 ...
Page 184: ...Code Page 850 MPCLII Packet ReferenceManual C 8 ...
Page 188: ...MPCLII Packet ReferenceManual C 12 ...
Page 216: ......