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
S u m o f D i g i t s C a l c u l a t i o n
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
5-16
Defining Field Options
Summary of Contents for Monarch 9412
Page 8: ...vi Table of Contents ...
Page 14: ...1 6 Getting Started ...
Page 22: ...2 8 Designing a Format ...
Page 70: ...4 22 Defining Fields ...
Page 88: ...5 18 Defining Field Options ...
Page 98: ...6 10 Printing ...
Page 143: ...Samples A 9 ...
Page 146: ...A 12 Samples ...
Page 166: ...C 12 Symbol Sets Code Pages ...
Page 169: ...B a t c h W o r k s h e e t Format Design Tools D 3 ...
Page 170: ...C h e c k D i g i t W o r k s h e e t D 4 Format Design Tools ...
Page 183: ......
Page 184: ......