3.
Next, the product of each digit is added together. This is the
sum of the products.
20 + 2 + 6 + 6 + 16 + 5 + 4 + 3 + 36 = 98
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
Defining Field Options
4-19
Summary of Contents for Monarch 9825
Page 62: ...2 42 Configuring the Printer ...
Page 92: ...3 30 Defining Fields ...
Page 138: ...5 26 Creating Graphics ...
Page 166: ...7 16 Status Polling ...
Page 212: ...A 14 Samples ...
Page 216: ...A 18 Samples ...
Page 246: ...A N S I S y m b o l S e t B o l d C h a r a c t e r S e t C 4 Symbol Sets Code Pages ...
Page 249: ...C o d e Pa g e 8 5 0 L a t i n 1 C o d e Pa g e 8 5 2 L a t i n 2 Symbol Sets Code Pages C 7 ...
Page 264: ...C 22 Symbol Sets Code Pages ...
Page 268: ...C h e c k D i g i t Wo r k s h e e t ...
Page 293: ......
Page 294: ......