Calculate the check digit sum for a numeric string as per section 7.9.1 of the GS1 General Specifications.
If true, start the weights at 1 instead of 3 on the right.
Numeric string.
Accumulated sum of each digit multiplied by the weight at its position.
Calculate the check digit sum for a numeric string as per section 7.9.1 of the GS1 General Specifications.