Forum Discussion
_anomDiebolt_
11 years agoQrew Elite
Assuming you have the digits broken down into individual numeric fields ([1], [2], ... [12]) here is the formula for the check field digit (ie [12]):
10 - Mod( 3 * ( [1] + [3] + [5] + [7] + [9] +[11]) + [2] + [4] + [6] + [8] + [10] , 10 )
See:
http://en.wikipedia.org/wiki/Check_digit#UPC
10 - Mod( 3 * ( [1] + [3] + [5] + [7] + [9] +[11]) + [2] + [4] + [6] + [8] + [10] , 10 )
See:
http://en.wikipedia.org/wiki/Check_digit#UPC