AIDC Toolkit / GS1 / checkDigit
Function: checkDigit()
checkDigit(
s):string
Defined in: src/check.ts:83
Calculate the check digit for a numeric string as per section 7.9.1 of the GS1 General Specifications.
Parameters
s
string
Numeric string.
Returns
string
Check digit 0-9 as a string.