Digit Add Left to Right
Digit Add Left to Right
View content for :
Platform:

Digit Add Left to Right

This parameter adds individual digits from left to right to use in the Check Digit Modulus.
Each character in the scanned data is assigned a numeric value (see OCR Check Digit Multiplier). Each value representing a character in the scanned data is multiplied by its corresponding digit in the multiplier, resulting in a product for each character in the scanned data. The sum of each individual digit in all of the products is then calculated. The check digit passes if this sum modulo Check Digit Modulus is zero.
For example:
Scanned data numeric value is
132456
(check digit is 6)
Check digit multiplier string is
123456
Digit
1
3
2
4
5
6
Multiplier
1
2
3
4
5
6
Product
1
6
6
16
25
36
Digit add
1+
6+
6+
1+6+
2+5+
3+6=
36
The Check Digit Modulus is 12. It passes because 36 is divisible by 12 (the remainder is 0).
Digit Add Left to Right (4)