Sum of products calculation – Pitney Bowes J640 User Manual

Page 77

Advertising
background image

7. Determine what numbers to use as the weight string. A

weight string is a group of two or more numbers that is
applied to a field. For an example of how the weight string
is applied to a field, refer to "Sum of Products Calculation"
or "Sum of Digits Calculation" later in this chapter. In box
A8, enter the weight string enclosed in quotation marks,
like this:

"1234"

Sum of Products Calculation –––––––––––––––––––––––––––––––––

This is an example of how the printer uses Sum of Products 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

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

Usin

g

Ch

eck Dig

it

s

Chapter 3. Using Check Digits

3-3

Advertising
This manual is related to the following products: